helpers

package
v0.0.0-...-3473e7d Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPaginationValues

func GetPaginationValues(ctx iris.Context) (offset, pagesize int)

func GetUrlParams

func GetUrlParams(ctx iris.Context) (urlParams map[string]string)

func Slicefy

func Slicefy(ctx iris.Context, keys ...string) (keyValue []interface{})

Types

type Limit

type Limit struct {
	// contains filtered or unexported fields
}

func NewLimit

func NewLimit() Limit

func NewLimitFromMap

func NewLimitFromMap(entryMap map[string][]string) Limit

func (*Limit) AddLimit

func (l *Limit) AddLimit(tableName string, colNames ...string)

func (*Limit) GetLimits

func (l *Limit) GetLimits() map[string][]string

func (*Limit) Valid

func (l *Limit) Valid() bool

Jump to

Keyboard shortcuts

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