Daniel Moran
00afd95cb7
refactor: automated move of errors and id from root to kit ( #21101 )
...
Co-authored-by: Sam Arnold <sarnold@influxdata.com>
2021-03-30 14:10:02 -04:00
Jonathan A. Sternberg
0ae8bebd75
refactor: rewrite imports to include the /v2 suffix for version 2
2020-04-03 12:39:20 -05:00
Mark Rushakoff
d73d73c0d4
chore: rename imports from platform to influxdb
...
I did this with a dumb editor macro, so some comments changed too.
Also rename root package from platform to influxdb.
In interest of minimizing risk, anyone importing the root package has
now aliased it to "platform" so that no changes beyond imports were
necessary in those files.
Lastly, replace the old platform module to local path /dev/null so that
nobody can accidentally reintroduce a platform dependency while
migrating platform code to influxdb.
2019-01-09 20:51:47 -08:00
Chris Goller
b68a98043d
refactor(id): update name to IDLength
2018-10-11 09:54:19 -05:00
Leonardo Di Donato
8d7f06cf4b
feat(platform/id): using uint64 for platform.IDs
...
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
Co-Authored-by: Lorenzo Fontana <lo@linux.com>
2018-10-11 09:54:18 -05:00
docmerlin (j. Emrys Landivar)
a8643bd070
fix panic in global id
2018-09-13 16:07:29 -05:00
docmerlin (j. Emrys Landivar)
c02c1be795
specificy setting a machine ID on the generator
2018-09-10 09:51:31 -05:00
Michael Desa
8c87c9d132
revert #442
2018-08-01 14:54:32 -04:00
Leonardo Di Donato
c16a855a58
Better naming for the ID length constant
2018-08-01 18:20:59 +02:00
Leonardo Di Donato
109aeb722b
Snowflake ID gen changes
2018-08-01 18:20:59 +02:00
Leonardo Di Donato
de66503de8
ID generator returns a pointer to platform.ID now
2018-08-01 18:20:59 +02:00
Leonardo Di Donato
26cd66f165
Update ID generator according to platform.ID
2018-08-01 18:20:59 +02:00
Michael Desa
1d7e18790c
fix(snowflake): rename *_generator.go to *.go
2018-05-16 11:45:13 -04:00