aboutsummaryrefslogtreecommitdiff
path: root/src/conf
diff options
context:
space:
mode:
authorAlexander Kavon <hawk@alexkavon.com>2023-11-14 13:16:06 -0500
committerAlexander Kavon <hawk@alexkavon.com>2023-11-14 13:16:06 -0500
commit2bb987d570b92a3d86f154fe53f36f953a69cc91 (patch)
tree446283163b9c9ba9fe14ba8303008f74b3304389 /src/conf
parent60f4a3e21f186d7bbc6e1f3239dc2dc06fa1ffac (diff)
router types; pass config, routes, db to server type, serve func
Diffstat (limited to 'src/conf')
-rw-r--r--src/conf/conf.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf/conf.go b/src/conf/conf.go
index 03b3d33..f68c2f4 100644
--- a/src/conf/conf.go
+++ b/src/conf/conf.go
@@ -25,7 +25,7 @@ type (
}
)
-func Load() *Conf {
+func NewConf() *Conf {
filepath := os.Getenv("NEWSSTAND_CONFIG_PATH")
if filepath == "" {