package report const ( Enabled = "Enabled" Disabled = "" Yes = "Yes" No = "" ) // Bool returns t or f, depending on the value of b. func Bool(value bool, yes, no string) string { if value { return yes } return no }