diff options
author | Alan Pearce | 2024-05-16 17:04:23 +0200 |
---|---|---|
committer | Alan Pearce | 2024-05-16 17:04:23 +0200 |
commit | 9a2885694e2f8153151cc92772d2bea85672939a (patch) | |
tree | 61c3af1d2dce46de1afbadc2861301475e8b57ed /internal | |
parent | f79f1deb956cd3f5788e7f602d883417badaebbd (diff) | |
download | searchix-9a2885694e2f8153151cc92772d2bea85672939a.tar.lz searchix-9a2885694e2f8153151cc92772d2bea85672939a.tar.zst searchix-9a2885694e2f8153151cc92772d2bea85672939a.zip |
refactor: remove toml special cases
Diffstat (limited to 'internal')
-rw-r--r-- | internal/config/source.go | 8 |
1 files 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 } |