Skip to content

Commit

Permalink
example: fix v0.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
kyokomi committed Aug 17, 2014
1 parent 4e4f634 commit e8afdba
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions example/hello.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,15 @@ package main

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

"github.com/kyokomi/emoji"
)

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

emoji.Println("@{:beer:} Beer!!!")
emoji.Println(":beer: Beer!!!")

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

dessert := emoji.Sprintf("%s @{:custard:} @{:womens:}.", "This is")
fmt.Println(dessert)
}

0 comments on commit e8afdba

Please sign in to comment.