Bezeichner is a Go service that generates and maps identifiers over gRPC and HTTP. It lets applications share a generator configuration across languages and translate legacy identifiers through application-specific mappings.
The Go module is github.com/alexfalkowski/bezeichner/v2. Go clients migrating
from v1 must add /v2 to their imports. The protobuf package and RPC routes
retain the bezeichner.v1 name.
Install the Go version specified in go.mod, Ruby with Bundler, and
curl. Configure GitHub SSH access for the bin submodule, then run these
commands from the root of a clone named bezeichner.
git submodule sync
git submodule update --init
make dep
make build
./bezeichner server -config file:test/.config/server.yaml
If Go reports inconsistent vendoring, rerun make dep. The
development config uses HTTP port 11000 and gRPC
port 12000. Check local readiness at
http://localhost:11000/bezeichner/readyz.
In another terminal, generate two identifiers for the uuid application.
curl -fsS \
-H 'Content-Type: application/json' \
-d '{"application":"uuid","count":2}' \
http://localhost:11000/bezeichner.v1.Service/GenerateIdentifiers
The response contains two UUIDv7 identifiers prefixed with uuid_ in the
ids array.