collection

package
v1.2.21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 1, 2021 License: Apache-2.0 Imports: 0 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collection

type Collection []map[string]interface{}

func (Collection) FirstGet

func (c Collection) FirstGet(key string) interface{}

func (Collection) Length

func (c Collection) Length() int

func (Collection) Where

func (c Collection) Where(key string, values ...interface{}) Collection

Where filters the collection by a given key / value pair.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL