Skip to content

Commit dad5dad

Browse files
committed
<snowflake><修改><开始时间>
1 parent 1d651cb commit dad5dad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demo/snowflake/snowflake.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
var (
1414
// Epoch is set to the twitter snowflake epoch of Nov 04 2010 01:42:54 UTC
1515
// You may customize this to set a different epoch for your application.
16-
Epoch int64 = 1288834974657
16+
Epoch int64 = 1514736000000 // 20180101
1717

1818
// Number of bits to use for Node
1919
// Remember, you have a total 22 bits to share between Node/Step

0 commit comments

Comments
 (0)