Documentation ¶
Index ¶
- func BytesToString(b []byte) string
- func StringToBytes(s string) (b []byte)
- func ToAnyByBytes(v []byte, dst encoding.BinaryUnmarshaler) error
- func ToAnyByText(v string, dst encoding.TextUnmarshaler) error
- func ToBool(v string) bool
- func ToBytes(dst []byte, i interface{}) []byte
- func ToFloat32(v string) float32
- func ToFloat64(v string) float64
- func ToInt(v string) int
- func ToInt16(v string) int16
- func ToInt32(v string) int32
- func ToInt64(v string) int64
- func ToInt8(v string) int8
- func ToString(i interface{}) string
- func ToUint(v string) uint
- func ToUint16(v string) uint16
- func ToUint32(v string) uint32
- func ToUint64(v string) uint64
- func ToUint8(v string) uint8
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BytesToString ¶
func StringToBytes ¶
func ToAnyByBytes ¶ added in v1.0.5
func ToAnyByBytes(v []byte, dst encoding.BinaryUnmarshaler) error
func ToAnyByText ¶ added in v1.0.5
func ToAnyByText(v string, dst encoding.TextUnmarshaler) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.