Skip to content

Commit

Permalink
removed: warn log
Browse files Browse the repository at this point in the history
  • Loading branch information
kyokomi committed May 13, 2015
1 parent 541ce2d commit 991bfd6
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions emoji.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import (
"errors"
"fmt"
"io"
"log"
)

//go:generate generateEmojiCodeMap -pkg emoji
Expand All @@ -20,10 +19,7 @@ func emojize(x string) string {
result := x

str, ok := emojiCodeMap[string(x)]
switch {
case !ok:
log.Printf("Wrong emoji syntax: %c", x)
default:
if ok {
result = str + ReplacePadding
}
return result
Expand Down

0 comments on commit 991bfd6

Please sign in to comment.