49

GitHub - kyokomi/emoji: emoji terminal output for golang

 5 years ago
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.

wercker status Coverage Status GoDoc

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

demo

Reference

License

MIT


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK