Last active
August 1, 2021 18:32
-
-
Save wader/6558dfad2c182bb107e9d9b60b2f56aa to your computer and use it in GitHub Desktop.
golang interesting internals and techniques
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| go run always exits with error code 1 https://github.com/golang/go/issues/13440 | |
| probably the reason it print the error code | |
| -coverpk=./... will load all packages, even non-imported ones, causing init() to run | |
| Default behaviour of signals on linux: | |
| https://github.com/golang/go/blob/master/src/runtime/sigtab_linux_generic.go | |
| AST rewrite exmaple | |
| https://github.com/vitessio/vitess/pull/7710 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment