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