check / check (push) Successful in 54s
Remove the template's HTTP service, database and fx wiring. Add exact arithmetic on go/parser and go/constant, a client that runs simplex-chat as a child process and drives its WebSocket API, and the bot, which keeps an auto-accepting address and replies to each message. The image adds the checksum-pinned simplex-chat v7.0.2 on Ubuntu 22.04. Model: opus-5-5
14 lines
534 B
Go
14 lines
534 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
|