all repos — emoji @ 37cba89abc97b27c86f58544f888c752c5db0228

A minimalistic emoji package for Go (golang)

emoji_test.go (view raw)

 1package emoji
 2
 3import (
 4	"fmt"
 5	"testing"
 6)
 7
 8func TestColor(t *testing.T) {
 9	fmt.Printf("hello %v from %v\n", WavingHand, FlagsForFlagTurkey)
10	fmt.Printf("different skin tones. default: %v light: %v dark: %v\n", ThumbsUp, OkHand.Tone(Light), CallMeHand.Tone(Dark))
11	fmt.Printf("emoji with multiple skins: %v\n", PeopleHoldingHands.Tone(Light, Dark))
12	flag, err := CountryFlag("tr")
13	if err != nil {
14		t.Fatal(err)
15	}
16	fmt.Println(flag)
17}