emojiname

package
v0.0.0-...-51943a4 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EmojiHue

func EmojiHue(emoji string) uint8

Types

type Emoji

type Emoji struct {
	// e.g. "THUMBS UP SIGN"
	Name string `json:"name"`
	// e.g. "+1"
	ShortName  string   `json:"short_name"`
	ShortNames []string `json:"short_names"`
	// e.g. "1F44D-1F3FB"
	Unified string `json:"unified"`
}

func Load

func Load() ([]*Emoji, error)

func RandomEmoji

func RandomEmoji(n int) ([]*Emoji, error)

Jump to

Keyboard shortcuts

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