mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-23 12:16:38 +00:00
10 lines
145 B
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") != "")
|