fix for go1.16 and possible sigsev
This commit is contained in:
@@ -512,7 +512,7 @@ func getYamlString(myType reflect.StructField, excludeList []string) (string, bo
|
||||
ymlStr += ": {string}"
|
||||
} else if myType.Type == reflect.TypeOf(map[string]string{}) {
|
||||
ymlStr += ": {key: value}"
|
||||
} else if myType.Type.Kind() == reflect.Pointer {
|
||||
} else if myType.Type.Kind() == reflect.Ptr {
|
||||
ymlStr += ":"
|
||||
}
|
||||
return ymlStr, true
|
||||
|
||||
Reference in New Issue
Block a user