Documentation
¶
Index ¶
- type Enumerable
- type Linq
- func (l *Linq) First(f interface{}) *Linq
- func (l *Linq) Last(f interface{}) *Linq
- func (l *Linq) OrderBy(f interface{}) *Linq
- func (l *Linq) Result() interface{}
- func (l *Linq) Select(f interface{}) *Linq
- func (l *Linq) ThenBy(f interface{}) *Linq
- func (l *Linq) Where(f interface{}) *Linq
- func (l *Linq) Zip(coll interface{}, f interface{}) *Linq
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Enumerable ¶
type Enumerable interface {
GetList() []interface{}
Compare(interface{}) int
}
Enumerable defines main interface for collections
type Linq ¶
type Linq struct {
// contains filtered or unexported fields
}
Linq defines main structure on collection
func (*Linq) Select ¶
Select defines a method for mapping of the representation of collection on the new form
func (*Linq) ThenBy ¶
ThenBy provides sorting by the key It should have "sorted": true after call of OrderBy
Click to show internal directories.
Click to hide internal directories.