Versions in this module Expand all Collapse all v1 v1.6.0 Feb 21, 2019 Changes in this version + const Time_YMD + const Time_YMDHIS + func ExtractDate(date string) *time.Time + func New(source string) + type NodeAdapterBinToConst struct + type NodeAnd struct + func (n *NodeAnd) Assertion(lvalue string, rvalue string) bool + func (n *NodeAnd) LeftValue() NodeExpr + func (n *NodeAnd) Operator() uint8 + func (n *NodeAnd) RightValue() NodeExpr + func (n *NodeAnd) SetLeftValue(e NodeExpr) + func (n *NodeAnd) SetRightValue(e NodeExpr) + type NodeBinOp interface + LeftValue func() NodeExpr + RightValue func() NodeExpr + SetLeftValue func(NodeExpr) + SetRightValue func(NodeExpr) + type NodeConst interface + SetValue func(string) + type NodeEmpty struct + func (e *NodeEmpty) Run() + type NodeEqual struct + func (n *NodeEqual) Assertion(lvalue string, rvalue string) bool + func (n *NodeEqual) LeftValue() NodeExpr + func (n *NodeEqual) Operator() uint8 + func (n *NodeEqual) RightValue() NodeExpr + func (n *NodeEqual) SetLeftValue(e NodeExpr) + func (n *NodeEqual) SetRightValue(e NodeExpr) + type NodeExpr interface + Assertion func(lvalue, rvalue string) bool + LeftValue func() NodeExpr + Operator func() uint8 + RightValue func() NodeExpr + SetLeftValue func(NodeExpr) + SetRightValue func(NodeExpr) + type NodeGreater struct + Equal bool + func (n *NodeGreater) Assertion(lvalue string, rvalue string) bool + func (n *NodeGreater) LeftValue() NodeExpr + func (n *NodeGreater) Operator() uint8 + func (n *NodeGreater) RightValue() NodeExpr + func (n *NodeGreater) SetLeftValue(e NodeExpr) + func (n *NodeGreater) SetRightValue(e NodeExpr) + type NodeId struct + func (n *NodeId) Assertion(lvalue string, rvalue string) bool + func (n *NodeId) LeftValue() NodeExpr + func (n *NodeId) Operator() uint8 + func (n *NodeId) RightValue() NodeExpr + func (n *NodeId) SetLeftValue(e NodeExpr) + func (n *NodeId) SetRightValue(e NodeExpr) + func (n *NodeId) SetValue(value string) + func (n *NodeId) Value() string + type NodeIn struct + Not bool + func (n *NodeIn) Assertion(lvalue string, rvalue string) bool + func (n *NodeIn) LeftValue() NodeExpr + func (n *NodeIn) Operator() uint8 + func (n *NodeIn) RightValue() NodeExpr + func (n *NodeIn) SetLeftValue(e NodeExpr) + func (n *NodeIn) SetRightValue(e NodeExpr) + type NodeLike struct + Not bool + Pattern *regexp.Regexp + func (n *NodeLike) Assertion(lvalue string, rvalue string) bool + func (n *NodeLike) LeftValue() NodeExpr + func (n *NodeLike) Operator() uint8 + func (n *NodeLike) RightValue() NodeExpr + func (n *NodeLike) SetLeftValue(e NodeExpr) + func (n *NodeLike) SetRightValue(e NodeExpr) + type NodeLiteral struct + func (n *NodeLiteral) Assertion(lvalue string, rvalue string) bool + func (n *NodeLiteral) LeftValue() NodeExpr + func (n *NodeLiteral) Operator() uint8 + func (n *NodeLiteral) RightValue() NodeExpr + func (n *NodeLiteral) SetLeftValue(e NodeExpr) + func (n *NodeLiteral) SetRightValue(e NodeExpr) + func (n *NodeLiteral) SetValue(value string) + func (n *NodeLiteral) Value() string + type NodeMain interface + Run func() + type NodeNotEqual struct + func (n *NodeNotEqual) Assertion(lvalue string, rvalue string) bool + func (n *NodeNotEqual) LeftValue() NodeExpr + func (n *NodeNotEqual) Operator() uint8 + func (n *NodeNotEqual) RightValue() NodeExpr + func (n *NodeNotEqual) SetLeftValue(e NodeExpr) + func (n *NodeNotEqual) SetRightValue(e NodeExpr) + type NodeNumber struct + func (n *NodeNumber) Assertion(lvalue string, rvalue string) bool + func (n *NodeNumber) LeftValue() NodeExpr + func (n *NodeNumber) Operator() uint8 + func (n *NodeNumber) RightValue() NodeExpr + func (n *NodeNumber) SetLeftValue(e NodeExpr) + func (n *NodeNumber) SetRightValue(e NodeExpr) + func (n *NodeNumber) SetValue(value string) + func (n *NodeNumber) Value() float64 + type NodeOr struct + func (n *NodeOr) Assertion(lvalue string, rvalue string) bool + func (n *NodeOr) LeftValue() NodeExpr + func (n *NodeOr) Operator() uint8 + func (n *NodeOr) RightValue() NodeExpr + func (n *NodeOr) SetLeftValue(e NodeExpr) + func (n *NodeOr) SetRightValue(e NodeExpr) + type NodeOrder struct + Asc bool + Field string + type NodeProgram struct + Child NodeMain + Path *string + func AST() (*NodeProgram, error) + type NodeSelect struct + Count bool + Fields []string + Limit int + Order *NodeOrder + Tables []string + Where NodeExpr + WildCard bool + func (s *NodeSelect) Run() + type NodeSmaller struct + Equal bool + func (n *NodeSmaller) Assertion(lvalue string, rvalue string) bool + func (n *NodeSmaller) LeftValue() NodeExpr + func (n *NodeSmaller) Operator() uint8 + func (n *NodeSmaller) RightValue() NodeExpr + func (n *NodeSmaller) SetLeftValue(e NodeExpr) + func (n *NodeSmaller) SetRightValue(e NodeExpr) + type SyntaxError struct + func (e *SyntaxError) Error() string