An opinionated log formatter that you probably don't want to use.
logfmtreads from stdin and prints formatted logslogfmtexpects structured json with certain keyslogfmtformats output to be similar to Google Cloud Platform Logging
You will need to have your $PATH setup to your go installation.
# Add this to your terminal .rc file
export PATH="$HOME/go/bin:$PATH"
go get -u github.com/wayneashleyberry/logfmtlogfmt reads from stdin, so pipe the output from your service into logfmt:
go run myapp.go | logfmtcat testdata/test.json | go run main.go