GoToSocial/vendor/codeberg.org/gruf/go-debug/debug_env.go

10 lines
154 B
Go

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