/box

box is an opinionated & minimalistic application framework for Go.

Primary LanguageGoApache License 2.0Apache-2.0

box

Go Reference Go Report Card Go Build & Test Go Coverage

Gopher in a box

box is an opinionated & minimalistic application framework for Go.

Functionality

box provides the following functionality:

  • Context which is canceled when the SIGINT or SIGTERM signal is received
  • Logger based on slog which automatically uses the JSON handler in Kubernetes
  • Optional web server based on Echo with liveness/readiness & metrics endpoints

Usage

See examples.