Chore: minor refactor

This commit is contained in:
xjasonlyu
2022-03-26 15:36:55 +08:00
parent 7ac97016fe
commit 531125ee1f
3 changed files with 10 additions and 11 deletions

View File

@@ -1,7 +1,7 @@
//go:build debug
package version
var _debug = false
func Debug() bool {
return _debug
func init() {
_debug = true
}