This is a simple demo service for a Kubernetes pipeline.
This requires a configured Redis server.
$ go build ./cmd/go-demo
TEST_REDIS_URL=redis://localhost:6379 go test ./...
If TEST_REDIS_URL
is not set this will default to redis://localhost:6379/9
.
Runninng this with Acorn is as simple as:
$ acorn install
$ acorn run -n go-demo .