Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
topi314 authored May 2, 2022
1 parent bd27c8f commit 04ad071
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# snowflake

snowflake is a golang library for parsing [snowflake IDs](https://docs.snowflake.com) from discord.
This package provides a custom snowflake ID type which has various utility methods for parsing snowflake IDs.
This package provides a custom `snowflake.ID` type which has various utility methods for parsing discord snowflakes.

### Installing

Expand All @@ -19,7 +19,7 @@ go get github.com/disgoorg/snowflake/v2

```go

id := ID(123456789012345678)
id := snowflake.ID(123456789012345678)

// deconstructs the snowflake ID into its components timestamp, worker ID, process ID, and increment
id.Deconstruct()
Expand Down

0 comments on commit 04ad071

Please sign in to comment.