From d30c37bf8ff3af31afb2b6f0d4efe1071535a894 Mon Sep 17 00:00:00 2001 From: Amolith Date: Sat, 27 Sep 2025 18:07:59 -0600 Subject: [PATCH] chore: add TOML tags to Config struct Co-Authored-By: Crush --- cmd/willow.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/willow.go b/cmd/willow.go index c3e7c9168491e1b93166ab4c85b67d25d2641c7a..dbf74033ef93ddb10a51465e5159de8cda25db86 100644 --- a/cmd/willow.go +++ b/cmd/willow.go @@ -22,15 +22,15 @@ import ( type ( Config struct { - Server server - DBConn string + Server server `toml:"Server"` + DBConn string `toml:"DBConn"` // TODO: Make cache location configurable // CacheLocation string - FetchInterval int + FetchInterval int `toml:"FetchInterval"` } server struct { - Listen string + Listen string `toml:"Listen"` } )