Documentation ¶
Index ¶
- Constants
- func ParseFloat64(v any) (r float64)
- func ParseInt64(v any) int64
- func ParseString(v any) (r string)
- type Attach
- func (a *Attach) GetInt32() (r int32)
- func (a *Attach) GetInt64() (r int64)
- func (a *Attach) GetString() (r string)
- func (a *Attach) Marshal(v interface{}) error
- func (a *Attach) MarshalJSON() ([]byte, error)
- func (a *Attach) Unmarshal(i interface{}) error
- func (a *Attach) UnmarshalJSON(b2 []byte) error
- type Bitwise
- type Byte
- type Bytes
- type Message
- type Values
- func (vs Values) Clone() Values
- func (vs Values) Get(k string) any
- func (vs Values) GetFloat32(k string) float32
- func (vs Values) GetFloat64(k string) (r float64)
- func (vs Values) GetInt(k string) int
- func (vs Values) GetInt32(k string) int32
- func (vs Values) GetInt64(k string) int64
- func (vs Values) GetString(k string) (r string)
- func (vs Values) Has(k string) bool
- func (vs Values) Key(k any) string
- func (vs Values) Marshal(k string, v any) (r any, err error)
- func (vs Values) Merge(from Values, replace bool)
- func (vs Values) Range(f func(k string, v any) bool)
- func (vs Values) Set(k string, v any) any
- func (vs Values) Unmarshal(k string, v any) error
Constants ¶
View Source
const (
BytesEmptyJson = "null"
)
View Source
const MaxBitwiseUnit = 32
View Source
const MessageErrorCodeDefault int = 9999
Variables ¶
This section is empty.
Functions ¶
func ParseFloat64 ¶ added in v1.1.0
func ParseInt64 ¶ added in v1.1.0
func ParseString ¶ added in v1.1.0
Types ¶
type Attach ¶
type Attach string
func (*Attach) MarshalJSON ¶
func (*Attach) UnmarshalJSON ¶
type Bytes ¶ added in v0.0.2
type Bytes []byte
func (*Bytes) MarshalJSON ¶ added in v0.0.2
func (*Bytes) UnmarshalJSON ¶ added in v0.0.2
type Values ¶
func (Values) GetFloat32 ¶
func (Values) GetFloat64 ¶
Click to show internal directories.
Click to hide internal directories.