.. | ||
convert-epoch.go | ||
go.mod | ||
README.md |
Build the binary
This will likely change into some sort of Makefile
later, but for now what is needed to build and use this utility is to run the followning commands:
$ export GOPATH=/home/mock/.local/bin
$ go build .
$ convert-epoch -epoch 1631711695
Epoch time: 1631711695
Local time: Wed, 15 Sep 2021 09:14:55 -0400
Zulu time: Wed, 15 Sep 2021 13:14:55 +0000
I would like to remove the -epoch
flag in favor of just assuming an epoch time value, but that will come later too. Gotta keep learning the language.