MCPcopy
hub / github.com/davyxu/tabtoy / ParseFieldType

Function ParseFieldType

v2/model/fielddesc.go:187–190  ·  view source on GitHub ↗
(str string)

Source from the content-addressed store, hash-verified

185}
186
187func ParseFieldType(str string) (t FieldType, ok bool) {
188 v, ok := fieldTypeByString[str]
189 return v, ok
190}
191
192const RepeatedKeyword = "repeated"
193const RepeatedKeywordLen = len(RepeatedKeyword)

Callers 2

findlocalFieldTypeFunction · 0.92
ParseTypeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected