Versions in this module Expand all Collapse all v0 v0.2.0 Feb 20, 2019 Changes in this version + const AS + const FROM + const FULL + const GENERATE + const IDENT + const INNER + const JCOND + const JOIN + const LEFT + const ON + const RIGHT + const STRING + type DeclCommon struct + Alias string + OptPlural string + SchemaName string + StructName string + TableName string + func (d DeclCommon) TableFullName() string + type Declaration struct + Joins Joins + Options Options + func (d *Declaration) ParseOptions() error + func (d *Declaration) String() string + type Declarations []*Declaration + func (ds Declarations) String() string + type Join struct + JoinType string + OnCond string + func (jn *Join) String() string + type Joins []*Join + func (jns Joins) String() string + type Option struct + Name string + Value string + func (opt Option) String() string + type Options []*Option + func (opts Options) String() string + type RootDeclaration struct + Declarations Declarations + func ParseString(filename, src string) (*RootDeclaration, error) + func (f *RootDeclaration) String() string