go-core

module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 19, 2026 License: Apache-2.0

README

go-core

Go base SDK for Standards Lab: layered configuration, process lifecycle, and logging.

github.com/standards-lab/go-core is a single Go module with the process-level packages every Go program in the organization builds on. It depends on the standard library alone.

Packages

  • config — loads configuration in layers: a base file, an environment overlay, and secrets.
  • lifecycle — starts subsystems concurrently, tracks and reports readiness as subsystem status changes, and shuts down within a timeout.
  • logging — builds an *slog.Logger from a configuration that config loads.

Development

Tasks run through mise:

mise run test

License

Apache License 2.0.

Directories

Path Synopsis
Package config loads layered JSON configuration and defines the contract a configuration type implements to take part in that load.
Package config loads layered JSON configuration and defines the contract a configuration type implements to take part in that load.
Package lifecycle hosts process startup, readiness, and graceful shutdown.
Package lifecycle hosts process startup, readiness, and graceful shutdown.
Package logging constructs the *slog.Logger a process writes through, from a configuration that takes part in the layered load.
Package logging constructs the *slog.Logger a process writes through, from a configuration that takes part in the layered load.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL