summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorsanine-a <sanine.not@pm.me>2023-04-27 11:28:21 -0500
committersanine-a <sanine.not@pm.me>2023-04-27 11:28:21 -0500
commit8f8bed0e018d89f35f15b005b0109eb0ee3e9290 (patch)
tree638e521aa27578b2a9344576f597b8739ccb7f95 /conf
parent51a40c981ab3a4902fb7dd661b2e4eddb1994c12 (diff)
add db module
Diffstat (limited to 'conf')
-rw-r--r--conf/go.mod8
-rw-r--r--conf/main.go4
2 files changed, 8 insertions, 4 deletions
diff --git a/conf/go.mod b/conf/go.mod
index 81b2db5..ff194cd 100644
--- a/conf/go.mod
+++ b/conf/go.mod
@@ -1,3 +1,7 @@
-module sanine.net/phlox/phloxconf
+module sanine.net/git/phlox/phloxconf
-go 1.20
+go 1.19
+
+replace sanine.net/git/phlox/db => ../db
+
+require sanine.net/git/phlox/db v0.0.0-00010101000000-000000000000
diff --git a/conf/main.go b/conf/main.go
index 13bcf35..1015592 100644
--- a/conf/main.go
+++ b/conf/main.go
@@ -1,9 +1,9 @@
package main
import (
- "fmt"
+ db "sanine.net/git/phlox/db"
)
func main() {
- fmt.Printf("hello world")
+ db.HelloWorld()
}