Go Snippets
time
Unix time to Date
d := time.Unix(1348102780, 0).Format(time.UnixDate)
unicode/utf8
RuneCount
rc := utf8.RuneCount([]byte("dsjkdshdjsdh..Ü..js"))
encoding/base64
Encode
value = base64.StdEncoding.EncodeToString([]byte("Hello World"))
Decode
hw, err := base64.StdEncoding.DecodeString(value)