mirror of
1
Fork 0
gotosocial/vendor/codeberg.org/gruf/go-debug/debug_env.go

10 lines
154 B
Go
Raw Normal View History

//go:build debugenv
// +build debugenv
package debug
import "os"
// DEBUG returns whether debugging is enabled.
var DEBUG = (os.Getenv("DEBUG") != "")