Versions in this module Expand all Collapse all v1 v1.0.1 Nov 16, 2022 Changes in this version + const CharsetASCII + const CharsetBin + const CharsetLatin1 + const CharsetUTF8 + const CharsetUTF8MB4 + const CollationASCII + const CollationBin + const CollationLatin1 + const CollationUTF8 + const CollationUTF8MB4 + func GetCharsetInfo(cs string) (string, string, error) + func GetCharsetInfoByID(coID int) (string, string, error) + func GetDefaultCollation(charset string) (string, error) + func Lookup(label string) (e encoding.Encoding, name string) + func ValidCharsetAndCollation(cs string, co string) bool + type Charset struct + Collations map[string]*Collation + DefaultCollation string + Desc string + Maxlen int + Name string + type Collation struct + CharsetName string + ID int + IsDefault bool + Name string + func GetCollations() []*Collation + type Desc struct + DefaultCollation string + Desc string + Maxlen int + Name string + func GetAllCharsets() []*Desc + func GetCharsetDesc(cs string) (*Desc, error)