INNER CODE UNIT · Go
greaterV
derailed/popeye · internal/alias.go:121
func greaterV(v1, v2 string) bool {
if v1 == "" && v2 == "" {
return true
}
if v2 == "" {
return true
}
if v1 == "v1" || v1 == "v2" {
return true
}
return false
}
// TitleFor produces a section title from an alias.
func (a *Aliases) TitleFor(s string, plural bool) string {
gvr, ok := a.aliases[s]
if !ok {