Versions in this module Expand all Collapse all v0 v0.1.0 Jul 12, 2018 Changes in this version + type Condition struct + AppendNext bool + Expression string + Query string + type Definition struct + IsTx bool + Mapper MapperType + Name string + type DynamicQuery struct + Args []string + Conditions []Condition + IndexOfWhere int + QueryType QueryType + RemoveLastComma bool + Segments []string + type MapperType int8 + const MapperArray + const MapperBasicType + const MapperDefault + const MapperSingle + type Parser struct + func NewParser() *Parser + func (p *Parser) LoadSqlFile(sqlFilePath string) ([]Statement, []Syntax, error) + type QueryType int8 + const QueryTypeCreate + const QueryTypeDelete + const QueryTypeInsert + const QueryTypeInvalid + const QueryTypeSelect + const QueryTypeUpdate + type Statement struct + Comment string + Definition *Definition + Query *DynamicQuery + type Syntax struct + DbFieldName string + FieldName string + FieldType string