base62/base62_test.go
2023-04-15 00:04:50 +08:00

14 lines
196 B
Go

package base62
import (
"testing"
)
func TestEncode(t *testing.T) {
e := GetInstance().Encode([]byte("问问哇啊啊"))
t.Log(e)
d, err := GetInstance().Decode(e)
t.Log(string(d), err)
}