summaryrefslogtreecommitdiff
path: root/database.go
AgeCommit message (Collapse)Author
2023-02-11Move shutdown code to main.goxengineering
This has nothing to do with the database. Because the db is now a global pointer the shutdown code can live in main.go.
2023-02-11Rework loggingxengineering
Logging during a request is at the moment not really needed. Printing the config to the log was a stupid idea too.
2023-02-11Switch to global database pointerxengineering
Passing the database pointer around is a lot of text and has no benefit.
2023-02-11Migrate database to global config structxengineering
2023-02-08Move all sources to package mainxengineering
This project is not so big that it needs multiple packages.