package definition
Import Path
github.com/yuin/goldmark-emoji/definition (on go.dev)
Dependency Relation
imports one package, and imported by 2 packages
Package-Level Type Names (total 4, in which 3 are exported)
Emoji is a data structure that holds a single emoji.
Name is a name of this emoji.
ShortNames is a shorter representation of this emoji.
Unicode is an unicode representation of this emoji.
IsUnicode returns true if this emoji is defined in unicode, otherwise false.
func NewEmoji(name string, unicode []rune, shortNames ...string) Emoji
func Emojis.Get(shortName string) (*Emoji, bool)
func NewEmojis(es ...Emoji) Emojis
func WithEmojis(emojis ...Emoji) EmojisOption
func github.com/yuin/goldmark-emoji/ast.NewEmoji(shortName []byte, value *Emoji) *ast.Emoji
Emojis is a collection of emojis.
Add adds new emojis to this collection.
Clone clones this collection.
Get returns (*Emoji, true) if found mapping associated with given short name, otherwise (nil, false).
*emojis
func Github(opts ...EmojisOption) Emojis
func NewEmojis(es ...Emoji) Emojis
func Emojis.Clone() Emojis
func Emojis.Add(Emojis)
func github.com/yuin/goldmark-emoji.WithEmojis(value Emojis) emoji.Option
var github
EmojisOption sets options for Emojis.
func WithEmojis(emojis ...Emoji) EmojisOption
func Github(opts ...EmojisOption) Emojis
Package-Level Functions (total 4, all are exported)
func Github(opts ...EmojisOption) Emojis
NewEmoji returns a new Emoji.
NewEmojis returns a new Emojis.
WithEmojis is an EmojisOption that adds emojis to the Emojis.
Package-Level Variables (total 2, neither is exported)
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |