You can not 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 id |
|
|
|
import ( |
|
"fmt" |
|
"testing" |
|
) |
|
|
|
func TestSnowflakeId(t *testing.T) { |
|
InitSnowflakeId(1) |
|
for i := 0; i < 10; i++ { |
|
fmt.Println(GenSnowIdS()) |
|
} |
|
}
|
|
|