Documentation ¶
Index ¶
- type Convert
- func (*Convert) Big5ToUtf8(str string) (string, error)
- func (*Convert) Charset(src string, srcCharset string, dstCharset string) (dst string, err error)
- func (*Convert) DbcToSbc(s string) string
- func (*Convert) GbkToUtf8(str string) (string, error)
- func (*Convert) JsonToMap(jsonString string) (map[string]interface{}, error)
- func (*Convert) JsonpToJson(str string) (string, error)
- func (*Convert) SbcToDbc(s string) string
- func (*Convert) ToBool(value interface{}) (bool, error)
- func (*Convert) ToFloat32(value interface{}) (float32, error)
- func (*Convert) ToFloat64(value interface{}) (float64, error)
- func (*Convert) ToInt(value interface{}) (int, error)
- func (*Convert) ToInt16(value interface{}) (int16, error)
- func (*Convert) ToInt32(value interface{}) (int32, error)
- func (*Convert) ToInt64(value interface{}) (int64, error)
- func (*Convert) ToInt8(value interface{}) (int8, error)
- func (*Convert) ToStr(value interface{}) (string, error)
- func (*Convert) ToUint(value interface{}) (uint, error)
- func (*Convert) ToUint16(value interface{}) (uint16, error)
- func (*Convert) ToUint32(value interface{}) (uint32, error)
- func (*Convert) ToUint64(value interface{}) (uint64, error)
- func (*Convert) ToUint8(value interface{}) (uint8, error)
- func (*Convert) ToUnicode(text string) string
- func (*Convert) Utf8ToBig5(str string) (string, error)
- func (*Convert) Utf8ToGbk(str string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Convert ¶
type Convert byte
func (*Convert) Big5ToUtf8 ¶
Big5ToUtf8 BIG5转UTF-8编码.
func (*Convert) JsonpToJson ¶
JsonpToJson 将jsonp转为json串. Example: forbar({a:"1",b:2}) to {"a":"1","b":2}
func (*Convert) Utf8ToBig5 ¶
Utf8ToBig5 UTF-8转BIG5编码.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.