CommonBo

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPager

func NewPager(cnt, page, pageSize int, step ...int) *pager

Types

type DotAccessData

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

func NewDotAccessDataFromJson

func NewDotAccessDataFromJson(arg0 interface{}) DotAccessData

func NewDotAccessDataFromMap

func NewDotAccessDataFromMap(arg0 interface{}) DotAccessData

func NewDotAccessDataFromYaml

func NewDotAccessDataFromYaml(arg0 interface{}) DotAccessData

func (DotAccessData) GetBoolean

func (bo DotAccessData) GetBoolean(path string, defaultValue ...bool) bool

func (DotAccessData) GetDataSize

func (bo DotAccessData) GetDataSize(path string) int64

func (DotAccessData) GetDuration

func (bo DotAccessData) GetDuration(path string) time.Duration

func (DotAccessData) GetFloat

func (bo DotAccessData) GetFloat(path string, defaultValue ...float64) float64

func (DotAccessData) GetInt

func (bo DotAccessData) GetInt(path string, defaultValue ...int) int

func (DotAccessData) GetInt64

func (bo DotAccessData) GetInt64(path string, defaultValue ...int64) int64

func (DotAccessData) GetIntSlice

func (bo DotAccessData) GetIntSlice(path string) []int

func (DotAccessData) GetMap

func (bo DotAccessData) GetMap(path string) map[string]interface{}

func (DotAccessData) GetMapSlice

func (bo DotAccessData) GetMapSlice(path string) []map[string]interface{}

func (DotAccessData) GetSlice

func (bo DotAccessData) GetSlice(path string) []interface{}

func (DotAccessData) GetString

func (bo DotAccessData) GetString(path string, defaultValue ...string) string

func (DotAccessData) GetStringMap

func (bo DotAccessData) GetStringMap(path string) map[string]string

func (DotAccessData) GetStringSlice

func (bo DotAccessData) GetStringSlice(path string) []string

func (DotAccessData) IsEmpty

func (bo DotAccessData) IsEmpty() bool

Jump to

Keyboard shortcuts

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