diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2017-05-10 17:59:12 +0300 |
---|---|---|
committer | Jacob Vosmaer <jacob@gitlab.com> | 2017-05-10 17:59:12 +0300 |
commit | b40e5bfb024f9c1862905e3d7d502b2f20648e8e (patch) | |
tree | 6acacf7549ae636e9098474f28acd8aa72a07b27 | |
parent | eb5b9b3af8d2668adff3e2f9edd76396cd4b7793 (diff) |
Doc comment
-rw-r--r-- | internal/helper/debug.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/helper/debug.go b/internal/helper/debug.go index 48116b2ba..f016ece8c 100644 --- a/internal/helper/debug.go +++ b/internal/helper/debug.go @@ -5,6 +5,7 @@ import ( "os" ) +// Debugf behaves similarly to log.Printf. No-op unless GITALY_DEBUG=1. func Debugf(format string, args ...interface{}) { if os.Getenv("GITALY_DEBUG") != "1" { return |