xjson

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2022 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type A

type A []M

type M

type M map[string]interface{}

func (M) Bool

func (this M) Bool(key string, _def ...bool) bool

整形

func (M) Date

func (this M) Date(key string, _format ...string) string

时间戳转换日期格式

func (M) Exists

func (this M) Exists(key string) bool

func (M) Float32

func (this M) Float32(key string, _def ...float32) float32

整形

func (M) Float64

func (this M) Float64(key string, _def ...float64) float64

整形

func (M) Get

func (this M) Get(key string, _def ...string) string

读取字符串

func (M) Int

func (this M) Int(key string, _def ...int) int

整形

func (M) Int32

func (this M) Int32(key string, _def ...int32) int32

整形

func (M) Int64

func (this M) Int64(key string, _def ...int64) int64

整形

func (M) Int8

func (this M) Int8(key string, _def ...int8) int8

整形

func (M) NumberList

func (this M) NumberList(key string, _sep ...string) []int32

数字列表

func (M) Splits

func (this M) Splits(key string, sep string) []string

分割列表

func (M) Timestamp

func (this M) Timestamp(key string, _def ...int64) int64

日期格式转换时间戳

func (M) Uint

func (this M) Uint(key string, _def ...uint) uint

整形

func (M) Uint32

func (this M) Uint32(key string, _def ...uint32) uint32

整形

func (M) Uint64

func (this M) Uint64(key string, _def ...uint64) uint64

整形

func (M) Uint8

func (this M) Uint8(key string, _def ...uint8) uint8

整形

Jump to

Keyboard shortcuts

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