49
GitHub - kyokomi/emoji: emoji terminal output for golang
source link: https://github.com/kyokomi/emoji
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
README.md
Emoji
Emoji is a simple golang package.
Get it:
go get gopkg.in/kyokomi/emoji.v1
Import it:
import (
"gopkg.in/kyokomi/emoji.v1"
)
Usage
package main import ( "fmt" "github.com/kyokomi/emoji" ) func main() { fmt.Println("Hello World Emoji!") emoji.Println(":beer: Beer!!!") pizzaMessage := emoji.Sprint("I like a :pizza: and :sushi:!!") fmt.Println(pizzaMessage) }
Demo
Reference
License
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK