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

10 lines
145 B
Go

//go:build debugenv
// +build debugenv
package debug
import "os"
// check if debug env variable is set
var debug = (os.Getenv("DEBUG") != "")