diff --git a/pkg/uid/sid_test.go b/pkg/uid/sid_test.go index fe7081f5..96501a98 100644 --- a/pkg/uid/sid_test.go +++ b/pkg/uid/sid_test.go @@ -4,6 +4,8 @@ import ( "fmt" "strconv" "testing" + + "github.com/davecgh/go-spew/spew" ) func Test_ShortID(t *testing.T) { @@ -44,3 +46,9 @@ func Test_Demo(t *testing.T) { fmt.Println(num, code) } } + +// https://answer.dev.segmentfault.com/questions/D112 +func Test_DeCode(t *testing.T) { + aaa := DeShortID("D112") + spew.Dump(aaa) +}