isDebug returns true if debug mode is enabled
()
| 109 | |
| 110 | // isDebug returns true if debug mode is enabled |
| 111 | func isDebug() bool { |
| 112 | return os.Getenv(debugEnvName) == debugEnvValue |
| 113 | } |
| 114 | |
| 115 | // Debug prints to the console if DNOTE_DEBUG is set |
| 116 | func Debug(msg string, v ...interface{}) { |
no outgoing calls
no test coverage detected