Documentation
¶
Index ¶
- func Ip2long(ipstr string) (ip uint32)
- func Long2ip(ip uint32) string
- func StructToMapInterface(m interface{}) map[string]interface{}
- func StructToMapString(m interface{}) map[string]string
- func ToStr(value interface{}, args ...int) (s string)
- type StrTo
- func (f StrTo) Exist() bool
- func (f StrTo) Int() (int, error)
- func (f StrTo) Int16() (int16, error)
- func (f StrTo) Int32() (int32, error)
- func (f StrTo) Int64() (int64, error)
- func (f StrTo) Int8() (int8, error)
- func (f StrTo) MustInt() int
- func (f StrTo) MustInt64() int64
- func (f StrTo) MustTime(fm ...string) time.Time
- func (f StrTo) MustUint() uint
- func (f StrTo) MustUint64() uint64
- func (f StrTo) MustUint8() uint8
- func (f StrTo) String() string
- func (f StrTo) Time(fm ...string) (time.Time, error)
- func (f StrTo) Uint() (uint, error)
- func (f StrTo) Uint16() (uint16, error)
- func (f StrTo) Uint32() (uint32, error)
- func (f StrTo) Uint64() (uint64, error)
- func (f StrTo) Uint8() (uint8, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StructToMapInterface ¶
func StructToMapInterface(m interface{}) map[string]interface{}
func StructToMapString ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.