Documentation ¶
Index ¶
- func NewPager(cnt, page, pageSize int, step ...int) *pager
- type DotAccessData
- func (bo DotAccessData) GetBoolean(path string, defaultValue ...bool) bool
- func (bo DotAccessData) GetDataSize(path string) int64
- func (bo DotAccessData) GetDuration(path string) time.Duration
- func (bo DotAccessData) GetFloat(path string, defaultValue ...float64) float64
- func (bo DotAccessData) GetInt(path string, defaultValue ...int) int
- func (bo DotAccessData) GetInt64(path string, defaultValue ...int64) int64
- func (bo DotAccessData) GetIntSlice(path string) []int
- func (bo DotAccessData) GetMap(path string) map[string]interface{}
- func (bo DotAccessData) GetMapSlice(path string) []map[string]interface{}
- func (bo DotAccessData) GetSlice(path string) []interface{}
- func (bo DotAccessData) GetString(path string, defaultValue ...string) string
- func (bo DotAccessData) GetStringMap(path string) map[string]string
- func (bo DotAccessData) GetStringSlice(path string) []string
- func (bo DotAccessData) IsEmpty() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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) 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
Click to show internal directories.
Click to hide internal directories.