Documentation ΒΆ
Index ΒΆ
- Constants
- func Decode(s string) string
- func Emoji(name string) string
- func Encode(s string) string
- func FromUnicode(s string) string
- func GetByName(name string) string
- func Render(str string) string
- func Search(kw string, limits ...int) (ret map[string]string)
- func ToUnicode(emoji string, prefix ...string) string
Constants ΒΆ
View Source
const ANGER = "π‘"
View Source
const APPLE = "π"
View Source
const BOOK = "π"
View Source
const BOX = "π¦"
View Source
const CAR = "π"
View Source
const CLOCK = "β°"
View Source
const DING = "π"
View Source
const DIR = "π"
View Source
const DOC = "π"
View Source
const DOWN = "π"
View Source
const DOZE = "π΄"
View Source
const EARTH = "π"
View Source
const EDIT = "β"
View Source
const ELEPHANT = "π"
View Source
const EYE = "π"
View Source
const FAIL = "β"
View Source
const FIRE = "π₯"
View Source
const FLAG = "π©"
View Source
const FLASH = "β‘"
View Source
const FLOWER = "πΊ"
View Source
const GIFT = "π"
View Source
const GUN = "π«"
View Source
const HAPPY = "π"
View Source
const HEART = "π"
View Source
const HEARTBREAK = "π"
View Source
const ID = "π"
View Source
const KEY = "π"
View Source
const LAUGH = "π"
View Source
const LEFT = "π"
View Source
const LIKE = "π"
View Source
const MOON = "π"
View Source
const NO = "β"
View Source
const OK = "π"
View Source
const PEAR = "π"
View Source
const PRAISE = "π"
View Source
const QUESTION = "β"
View Source
const RECYCLE = "β»"
View Source
const RIGHT = "π"
View Source
const SMILE = "π"
View Source
const SNOW = "β"
View Source
const STAR = "β"
View Source
const STEP = "πΎ"
View Source
const STOP = "π«"
View Source
const SUC = "β
"
View Source
const SUN = "π"
View Source
const TOOL = "π§"
View Source
const TREAD = "π"
View Source
const TREE = "π²"
View Source
const UP = "π"
View Source
const WAN = "β"
View Source
const WATER = "π§"
View Source
const WHALE = "π³"
View Source
const YES = "β"
Variables ΒΆ
This section is empty.
Functions ΒΆ
func Decode ΒΆ
Decode a string, convert unicode to emoji chat Usage:
str := Decode("a msg [\u1f496]")
func FromUnicode ΒΆ
FromUnicode unicode string to emoji string Usage:
emoji := FromUnicode("\U0001f496")
func GetByName ΒΆ
GetByName returns the unicode value for the given emoji name. If the specified emoji does not exist, will returns the input string.
Types ΒΆ
This section is empty.
Click to show internal directories.
Click to hide internal directories.