update go-cheatsheet
This commit is contained in:
parent
4346798760
commit
dcdf5126b3
@ -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)}
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user