Skip to content

Instantly share code, notes, and snippets.

@embano1
Last active November 28, 2017 14:53
Show Gist options
  • Save embano1/18da87181e555480a8a3763f4f72d680 to your computer and use it in GitHub Desktop.
Save embano1/18da87181e555480a8a3763f4f72d680 to your computer and use it in GitHub Desktop.
go-emoji
package main
import (
"fmt"
)
func main() {
s := string("\xF0\x9F\x98\x85")
b := []byte("\xF0\x9F\x8D\xBB")
fmt.Println(s,string(b))
}
@embano1
Copy link
Author

embano1 commented Nov 28, 2017

package main

import (
	"fmt"
)

func main() {
	s := string("\xF0\x9F\x98\x85")
	b := []byte("\xF0\x9F\x8D\xBB")
	fmt.Println(s,string(b))
}

Resources:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment