update go-cheatsheet

This commit is contained in:
Jeffrey Paul 2020-10-05 03:22:50 -07:00
parent 4346798760
commit dcdf5126b3

View File

@ -1,5 +1,9 @@
# go (golang) cheatsheet # go (golang) cheatsheet
## external
* awesome-go list of tools: [avelino/awesome-go](https://github.com/avelino/awesome-go)
## tools and environment ## tools and environment
goimports manages your import lines and should be used instead of fmt, golangci-lint will tell you when you're doing silly things, and gotest will do the same thing as `go test` but with color output in terminal. goimports manages your import lines and should be used instead of fmt, golangci-lint will tell you when you're doing silly things, and gotest will do the same thing as `go test` but with color output in terminal.
@ -54,4 +58,4 @@ Outputs types with keys, viz:
ours:(*message.InnerJSONStruct)(nil), ours:(*message.InnerJSONStruct)(nil),
dstPubKey:(*cbk.CryptoBoxKey)(nil), dstPubKey:(*cbk.CryptoBoxKey)(nil),
srcPrivKey:(*cbk.CryptoBoxKey)(nil)} srcPrivKey:(*cbk.CryptoBoxKey)(nil)}
``` ```