Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LineParser ¶ added in v1.1.0
func LineParser(line string) (LineParserState, ParserData, error)
func ParseRelationProp ¶
Types ¶
type Field ¶
type Field struct { Name string BuiltinType types.FieldType Properties map[types.FieldProp]string IncrementTracker int }
func (*Field) AutoIncrement ¶ added in v1.1.6
func (*Field) IndexLevel ¶ added in v1.1.6
func (field *Field) IndexLevel() IndexLevel
type IndexLevel ¶ added in v1.1.6
type IndexLevel int
const ( IndexLevelNone IndexLevel = iota IndexLevelUnique IndexLevelPrimary )
type IntCompare ¶ added in v1.1.4
type IntCompare string
const ( IntCompareEqual IntCompare = "eq" IntCompareNotEqual IntCompare = "ne" IntCompareGreater IntCompare = "gt" IntCompareLess IntCompare = "lt" IntCompareGreaterOrEqual IntCompare = "gte" IntCompareLessOrEqual IntCompare = "lte" )
type LineParserState ¶ added in v1.1.0
type LineParserState int
const ( ParserStateTableStart LineParserState = iota ParserStateTableEnd ParserStateNewField ParserStateIdle )
type ParserData ¶ added in v1.1.0
type StringCompare ¶ added in v1.1.4
type StringCompare string
const ( StringCompareContains StringCompare = "contains" StringCompareStartsWith StringCompare = "startsWith" StringCompareEndsWith StringCompare = "endsWith" )
Click to show internal directories.
Click to hide internal directories.