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
5db4276a71
fix(platform/id): improvements on code using uint64 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
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
Edd Robinson
fb0db04bc1
Initial import pkg package
2018-10-01 12:03:20 +01: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
Michael Desa
eabba6986d
migrate(platform): move public dependencies into platform
...
migrate(context): move context package to platform
migrate(kit/errors): move errors package to platform
migrate(mock): move mock package to platform
migrate(prometheus): move prometheus package to platform
migrate(rand): move rand package to platform
migrate(snowflake): move snowflake package to platform
migrate(testing): move testing package to platform
migrate(zap): move zap package to platform
migrate(http): move http package to platform
migrate(platform): rename base package idpe to platform
git(base): add gitignore
dep: add dependencies
migrate(platform): remove consumer.go
migrate(platform): make secret things private again
2018-05-14 17:12:53 -04:00