any

package module
v0.0.0-...-ecf28fe Latest Latest
Warning

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

Go to latest
Published: May 13, 2019 License: MIT Imports: 6 Imported by: 0

README

any

golang基础类型(数字、字符串和布尔型)字段反序列化

应该 只临时用在那些不确定他的类型的字段上

TODO

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Value

type Value string

func (Value) String

func (f Value) String() string

func (Value) ToBool

func (f Value) ToBool() (bool, error)

func (Value) ToFloat64

func (f Value) ToFloat64() (float64, error)

func (Value) ToInt

func (f Value) ToInt() (int, error)

func (*Value) UnmarshalJSON

func (v *Value) UnmarshalJSON(b []byte) error

Jump to

Keyboard shortcuts

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