I've been learning Golang for a while, I made this program to process input into binary, hexadecimal and octal.
- To process text input into binary:
$ go-binme
- To process text input into hexadecimal:
$ go-binme -x
- To process text input into octal:
$ go-binme -o
- To process text input into decimal:
$ go-binme -d
- You can pipe the input:
$ echo "Hello, World" | go-binme
The program will print a new line after it's done, but only if the output is a terminal, not a pipe.
To get the program run the following command:
go get github.com/nico-castell/go-binme
Alternatively, you can clone the repository and install it from there:
git clone https://github.com/nico-castell/go-binme.git && \
cd go-binme && \
go install .
Either way, you'll need to Golang installed. To install it, you should follow the official instructions.
This program and this repository are available under the Unlicense license.