This repository provides common Go utilities and helpers that are reusable from project-to-project. The goal is to prevent code duplication by encouraging teams to use and contribute to toolkit libraries. The toolkit is not a framework. Rather, it is a set of (mostly gRPC-related) plugins and helpers.
Apache License 2.0
99
stars
115
forks
source link
bloxid: need a way to create a bloxid object by passing the unique id of a bloxid random scheme in constructor #309
There isn't a way to create a new bloxid object by passing the unique id of a previously generated random scheme bloxid. In the database, we only store the unique id portion of the bloxid. We need a way to reconstitute the bloxid object. Suggestion:
add WithScheme(WithRandomEncodedID(encodedID string)) to V0 constructor option:
There isn't a way to create a new bloxid object by passing the unique id of a previously generated random scheme bloxid. In the database, we only store the unique id portion of the bloxid. We need a way to reconstitute the bloxid object. Suggestion:
add
WithScheme(WithRandomEncodedID(encodedID string))
to V0 constructor option: