Versions in this module Expand all Collapse all v0 v0.1.1 Aug 19, 2020 v0.1.0 Jun 16, 2019 Changes in this version + const ComparisonBeginWith + const ComparisonEndWith + const ComparisonEqual + const ComparisonExists + const ComparisonGreater + const ComparisonIn + const ComparisonLesser + const ComparisonNotEqual + type Field struct + Name string + Value interface{} + func (f Field) Index() int + type Filter struct + FieldName string + Modifier ValueModifier + Operation int + Value interface{} + type Row struct + func (r *Row) AddField(name string, value interface{}) + func (r *Row) FieldByIndex(index int) *Field + func (r *Row) FieldByName(name string) *Field + func (r Row) String() string + type RowCollection []*Row + func (r RowCollection) AddField(name string, value interface{}) + func (r RowCollection) CollectValues(fieldName string) ([]interface{}, error) + func (r RowCollection) Count() int + func (r RowCollection) String() string + func (r RowCollection) Where(result RowCollection, filters ...Filter) (RowCollection, error) + type StruQL struct + Rows RowCollection + func (s *StruQL) Init(object interface{}) error + func (s *StruQL) Where(result RowCollection, filters ...Filter) (RowCollection, error) + func (s StruQL) String() string + type ValueModifier func(Value interface{}) interface