package id import ( "fmt" "testing" ) func TestSnowflakeId(t *testing.T) { InitSnowflakeId(1) for i := 0; i < 10; i++ { fmt.Println(GenSnowIdS()) } }