matterbridge/vendor/github.com/kyokomi/emoji/v2/README.md
2023-01-28 22:57:53 +01:00

965 B

Emoji

Emoji is a simple golang package.

master workflow Coverage Status GoDoc

Get it:

go get github.com/kyokomi/emoji/v2

Import it:

import (
    "github.com/kyokomi/emoji/v2"
)

Usage

package main

import (
    "fmt"

    "github.com/kyokomi/emoji/v2"
)

func main() {
    fmt.Println("Hello World Emoji!")

    emoji.Println(":beer: Beer!!!")

    pizzaMessage := emoji.Sprint("I like a :pizza: and :sushi:!!")
    fmt.Println(pizzaMessage)
}

Demo

demo

Reference

License

MIT