MCPcopy Create free account
hub / github.com/featureform/featureform / isPublic

Method isPublic

helpers/struct_iterator/struct_iterator.go:48–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46}
47
48func (si *StructIterator) isPublic() bool {
49 firstLetter := []rune(si.Key())[0]
50 if unicode.IsLower(firstLetter) && unicode.IsLetter(firstLetter) {
51 return false
52 }
53 return true
54}
55
56// NewStructIterator creates returns a new iterator for a struct.
57// This only works with struct types, not maps. It will only iterate

Callers 1

NextMethod · 0.95

Calls 1

KeyMethod · 0.95

Tested by

no test coverage detected