fortify/internal/verbose/state.go

14 lines
154 B
Go
Raw Normal View History

package verbose
import "sync/atomic"
var verbose = new(atomic.Bool)
func Get() bool {
return verbose.Load()
}
func Set(v bool) {
verbose.Store(v)
}