in pojo.go [267:287]
func combineGoTypeName(t reflect.Type) string {
for reflect.Ptr == t.Kind() {
t = t.Elem()
}
if reflect.Slice == t.Kind() {
goName := t.String()
sliceArrayPrefixIndex := strings.LastIndex(goName, "]")
for reflect.Slice == t.Kind() {
t = t.Elem()
}
return goName[:sliceArrayPrefixIndex+1] + combineGoTypeName(t)
}
pkgPath := t.PkgPath()
goName := t.String()
if pkgPath == "" || strings.HasPrefix(goName, pkgPath) {
return goName
}
return pkgPath + "/" + goName
}