in pkg/cli/types.go [87:106]
func (*CommandLineInterface) IntMe(i interface{}) *int {
if i == nil {
return nil
}
switch v := i.(type) {
case *int:
return v
case int:
return &v
case *int32:
val := int(*v)
return &val
case int32:
val := int(v)
return &val
default:
log.Printf("%s cannot be converted to an int", i)
return nil
}
}