From 9a2885694e2f8153151cc92772d2bea85672939a Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 16 May 2024 17:04:23 +0200 Subject: refactor: remove toml special cases --- internal/config/source.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/internal/config/source.go b/internal/config/source.go index 28451e3..9797bb1 100644 --- a/internal/config/source.go +++ b/internal/config/source.go @@ -57,9 +57,9 @@ type Source struct { Channel string URL string Attribute string - ImportPath string `toml:"import-path"` - FetchTimeout time.Duration `toml:"fetch-timeout"` - ImportTimeout time.Duration `toml:"import-timeout"` - OutputPath string `toml:"output-path"` + ImportPath string + FetchTimeout time.Duration + ImportTimeout time.Duration + OutputPath string Repo Repository } -- cgit 1.4.1