summaryrefslogtreecommitdiff
path: root/internal/server/server_test.go
Commit message (Collapse)AuthorAge
* go.mod: update module to git.mihna123.commihna1232026-09-04
|
* config: add config package and wire it into server and handlersmihna1232026-09-04
| | | | | | | | | | | Replace the hardcoded server.Config with an ini-backed config package that reads /etc/openstore/openstore.conf then the user's config file, so user settings override system ones and both override the built-in defaults. Missing files are ignored rather than fatal. Move route registration into a handlers package that owns the templates and builds a Page view model, which removes the server -> handlers import cycle along with the setter-based context injection.
* listing: use slog.DiscardHandler instead of creating a new onemihna1232026-08-23
|
* test: add tests for servermihna1232026-08-21