Files

10 lines
116 B
Go

package util
func IfEmpty(value, fallback string) string {
if value == "" {
return fallback
}
return value
}