1
0
Fork 0
forked from 0x2E/fusion
fusion/conf
Michael Lynch 41784ec681 Make conf settings read-only
It feels a bit messy that the entire program has write access to the configuration as a shared global object. Shared globals make it more difficult to reason about a program's behavior.

This rewrite reduces the problem a bit by making the shared global state read-only after the client calls conf.Load.
2025-01-02 20:24:36 -05:00
..
conf.go Make conf settings read-only 2025-01-02 20:24:36 -05:00