Files
simplexcalc/internal/config/export_test.go
T
clawbot f8ce8cef83 Seed from go-template-repo, renamed to simplexcalc
The template's files at a77fd30, without its history or LICENSE, after
script/rename simplexcalc.

Model: opus-5-5
2026-09-26 21:38:57 +00:00

18 lines
676 B
Go

package config
// Load is load, exported for the external test package.
//
// The tests live in config_test rather than config so that they drive
// this package the way the rest of the program does — through its
// exported surface — and cannot quietly depend on an internal detail.
// The one thing they need that is not exported is the ability to
// supply an environment instead of reading the process's, which is a
// testing seam and not API.
//
//nolint:gochecknoglobals // a test seam, not mutable state.
var Load = load
// CSRFKeyBytes is the required key length, so the tests can assert on
// it without restating the number.
const CSRFKeyBytes = csrfKeyBytes