Adjust naming and prevent a flag reset

This commit is contained in:
erthalion
2018-07-09 10:45:05 +02:00
parent 4dcf2cae40
commit f9c10b3d00
4 changed files with 34 additions and 17 deletions
+4
View File
@@ -126,3 +126,7 @@ func Coalesce(val, defaultVal string) string {
}
return val
}
func IsTrue(value *bool) bool {
return value != nil && *value
}