chore(cmd): add TOML tags to config struct fields

Amolith created

Change summary

cmd/willow.go | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

Detailed changes

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"`
 	}
 )