chinese

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GBK2UTF8

func GBK2UTF8(src []byte) (string, error)

GBK2UTF8 : transform GBK byte array into UTF8 string

func UTF82GBK

func UTF82GBK(src string) ([]byte, error)

UTF82GBK : transform UTF8 rune into GBK byte array

Types

type ByPinyin

type ByPinyin []string

func (ByPinyin) Len

func (s ByPinyin) Len() int

func (ByPinyin) Less

func (s ByPinyin) Less(i, j int) bool

func (ByPinyin) Swap

func (s ByPinyin) Swap(i, j int)

Jump to

Keyboard shortcuts

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