From 7af896fce4eac0579076aa15a3e987345dc9f9e8 Mon Sep 17 00:00:00 2001 From: dev Date: Wed, 24 Jun 2026 01:52:52 +0200 Subject: 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() --- src/go.mod | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 src/go.mod (limited to 'src/go.mod') 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 -- cgit v1.2.3