From 1c04b4cf63bd2f3749d2ff0b37ed614e7f7b69b5 Mon Sep 17 00:00:00 2001 From: Amolith Date: Thu, 27 Mar 2025 13:45:39 -0600 Subject: [PATCH] chore(cmd): add TOML tags to config struct fields --- cmd/willow.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/willow.go b/cmd/willow.go index 589c954f2108477bdd5bc0f2c291b49d024e91c4..3fd7d7da036ddff37dbaeabea0042ba9939caf12 100644 --- a/cmd/willow.go +++ b/cmd/willow.go @@ -23,15 +23,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"` } )