diff --git a/README.md b/README.md index e319de7..0d5e252 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,8 @@ The Discord alternative for Terminal nerds. Eko Showcase

+Don't forget to ⭐ the repo! + ## Features - 🟢 Vim-style navigation and editing @@ -62,7 +64,7 @@ They are inspired by vim and should feel intuitive. To ask questions, suggest features, or chat with the community, it's recommended to join the official server. -To do so press `a` while focused on the network list and paste `` into it. +To do so press `a` while focused on the network list and paste `7660950781952` into it. And that's it! @@ -119,7 +121,7 @@ Optionally move the executable to somewhere in your path so you can access it fr I’d love to hear your thoughts on this project. Reach me via: -- Eko: `` (focus the Signal pane, press `a` and paste) +- Eko: `2102554263552` (focus the Signal pane, press `a` and paste) - Discord: Kyren223 ## Licenses diff --git a/pkg/snowflake/snowflake.go b/pkg/snowflake/snowflake.go index 890f278..d369134 100644 --- a/pkg/snowflake/snowflake.go +++ b/pkg/snowflake/snowflake.go @@ -75,9 +75,9 @@ func NewNode(node int64) *Node { assert.Assert(nodeBits+stepBits == 22, "node and step bits must add up to 22") assert.Assert(0 <= node && node <= NodeMax, "node must be within 0 and NodeMax", "node", node) - // Credit to https://github.com/bwmarrin/snowflake + // NOTE(kyren): Credit to https://github.com/bwmarrin/snowflake currentTime := time.Now() - // add time.Duration to curTime to make sure we use the monotonic clock if available + // add time.Duration to currentTime to make sure we use the monotonic clock if available epoch := currentTime.Add(time.Unix(Epoch/1000, (Epoch%1000)*1000000).Sub(currentTime)) return &Node{