Documentation
¶
Overview ¶
Package ldflag contains flags set at link time via LDFLAGS="...". Runtime packages can rely on these variables to access information about the build.
e.g. go run -ldflags="-X 'github.com/go-duo/ldflag/ldflag.hot=true'" main.go
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsDevelopment ¶
func IsDevelopment() bool
func IsProduction ¶
func IsProduction() bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.