github.com/eraclitux/trace (go): Package trace exposes simple tracing capabilities.  The idea is that during early stages of code development one wants a simple (and dirty :)) way to inspect values of vars that can be quickly disabled.  To enable trace functions to print, just build, run or test with “debug“ tag otherwise they will be noops:  stderr is used to not perturb Examples() functions.  Once trace is no more needed, the provided command can be used to remove its presence in a code base, for example:  will recursively remove import and function calls from all go files in the current directory and all its subdirs.  Original idea by Dave Cheney http://dave.cheney.net.
Keywords: debugging|golang-package