Bruce Marriner
|
267d02f8b9
|
Add BenchmarkGenerateMaxSequence func
This allows a benchmark showing how fast ids can be generated with 21
bits assigned to the sequence number
|
2019-04-10 01:32:30 +00:00 |
|
Bruce Marriner
|
272c8fb215
|
👌Linting
|
2019-04-10 01:12:21 +00:00 |
|
Bruce Marriner
|
1d51515945
|
An attempt at catching race issues
|
2019-04-10 01:02:19 +00:00 |
|
Bruce Marriner
|
0516e7e5cf
|
Added Base32 and ParseBase32 methods.
These methods are nearly identical to the base58 methods, except that
these use the z-base-32 character set.
|
2018-03-12 20:56:32 +00:00 |
|
Connor Peet
|
d3bf1ae440
|
Fix panic during UnmarshalJSON
|
2017-06-16 09:02:47 -07:00 |
|
Bruce Marriner
|
734cbe306e
|
Added Base58 encoder/decoder
|
2017-02-21 09:58:29 -06:00 |
|
Connor Peet
|
95d961a628
|
Add a method to encode the snowflake as a byte slice
|
2016-07-26 11:35:39 -07:00 |
|
zeroZshadow
|
bb0fb2c0f5
|
Fix UnmarshalJSON benchmark
Optimize MarshalJSON a little more
|
2016-06-11 03:48:54 +02:00 |
|
zeroZshadow
|
d8933e1ea5
|
Added tests for MarshalJSON and UnmarshalJSON
Reduced allocation of MarshalJSON from 65 to 40 B/op
|
2016-06-10 20:33:36 +02:00 |
|
Bruce Marriner
|
348dc1e55f
|
Lint.
|
2016-06-04 15:52:39 -05:00 |
|
Bruce Marriner
|
db0acce1d0
|
Linting, Optimizations, Cleanup, More Benchmarks.
|
2016-06-04 15:50:03 -05:00 |
|
Bruce Marriner
|
97d16a5921
|
Fixed package name in test file
|
2016-06-01 16:15:57 -05:00 |
|
Bruce Marriner
|
bf4c51fc2b
|
Rename to snowflake
|
2016-06-01 16:12:53 -05:00 |
|