package snowflake import "testing" func TestInitSnowflake(t *testing.T) { err := InitSnowflake(1) if err != nil { t.Error(err) } t.Log(GetID()) }