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