I'm trying to export a constant from a go like this:
package log
const (
FATAL = iota // fatal errors
ERROR = iota // errors might happend
DEBUG = iota // debug mode
) // const for logging levels
But I'm getting golint error :
exported const FATAL should have comment (or a comment on this block) or be unexported (golint)
And it's right I'm getting later error in getting access to log.FATAL etc.