summaryrefslogtreecommitdiff
path: root/src/go.mod
diff options
context:
space:
mode:
authordev2026-06-24 01:52:52 +0200
committerdev2026-06-24 01:52:52 +0200
commit7af896fce4eac0579076aa15a3e987345dc9f9e8 (patch)
tree2bbca47a18a4a4bee735d92cccf91d5ee307e498 /src/go.mod
parentae17ca2716cee24b9814a5e54c2349c115012d74 (diff)
downloadhnimdbbot-7af896fce4eac0579076aa15a3e987345dc9f9e8.tar.gz
feat: switch config to JSON; add go.mod and config.json.example
- Replace Viper-based config with encoding/json (config.go) - Add config.json with sensible defaults (gitignored) - Add config.json.example with empty values as reference - Initialize go module (go.mod) - Update main.go to use LoadConfig()
Diffstat (limited to 'src/go.mod')
-rw-r--r--src/go.mod3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/go.mod b/src/go.mod
new file mode 100644
index 0000000..4a23ad9
--- /dev/null
+++ b/src/go.mod
@@ -0,0 +1,3 @@
+module hnimdbbot
+
+go 1.26.4