You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package hashid
|
|
|
|
import (
|
|
"testing"
|
|
|
|
_ "joybuywork/test"
|
|
)
|
|
|
|
func TestNormalId(t *testing.T) {
|
|
for i := 0; i < 20; i++ {
|
|
t.Log(Id())
|
|
}
|
|
}
|
|
|
|
func TestShortId(t *testing.T) {
|
|
for i := 0; i < 20; i++ {
|
|
t.Log(IdBase16())
|
|
}
|
|
}
|