I need to be able to build different versions of a go application; a \'debug\' version and a normal version.
This is easy to do; I simply have a const DEBUG, that contro
See my answer to another question. You need a blank line after the "// +build" line.
Also, you probably want the "!" in config.go, not in config.debug.go; and presumably you want one to be "DEBUG = false".