in pkg/formatter/text_template_utils.go [324:344]
func equal(x, y interface{}) bool {
// setting a to something different than "" to avoid a case where
// the passed types are not handled by the switch cases
var a = "x"
var b string
switch s := x.(type) {
case string:
a = s
case *string:
a = *s
}
switch s := y.(type) {
case string:
b = s
case *string:
b = *s
}
return a == b
}