This repository contains shared packages used by Go applications at Replicate. If we find ourselves writing the same code repeatedly across different applications, we might want to put it here.
In due course, it may become a monorepo for our services and tools built using Go.
For now, the repository is public, to simplify its use as a Go module in other applications.
Feature flagging functions: a thin wrapper around the LaunchDarkly client.
Configures logging conventions for github.com/sirupsen/logrus
.
Standard OpenTelemetry configuration and tracer creation.
A convention for retrieving service version from the environment.
You can run the build, check the tests, lint the code, and run a formatter using
the scripts provided in script/
script/build
script/test
script/format
script/lint