MCPcopy Index your code
hub / github.com/wailsapp/wails / differentNamespaces

Function differentNamespaces

v2/internal/typescriptify/typescriptify.go:985–993  ·  view source on GitHub ↗
(namespace string, typeOf reflect.Type)

Source from the content-addressed store, hash-verified

983}
984
985func differentNamespaces(namespace string, typeOf reflect.Type) bool {
986 if strings.ContainsRune(typeOf.String(), '.') {
987 typeNamespace := strings.Split(typeOf.String(), ".")[0]
988 if namespace != typeNamespace {
989 return true
990 }
991 }
992 return false
993}
994
995func typeClashWithReservedKeyword(input string) bool {
996 in := strings.ToLower(strings.TrimSpace(input))

Callers 3

AddMapFieldMethod · 0.85
convertTypeMethod · 0.85

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…