about summary refs log tree commit diff stats
path: root/internal/config/source.go
diff options
context:
space:
mode:
authorAlan Pearce2024-05-16 17:04:23 +0200
committerAlan Pearce2024-05-16 17:04:23 +0200
commit9a2885694e2f8153151cc92772d2bea85672939a (patch)
tree61c3af1d2dce46de1afbadc2861301475e8b57ed /internal/config/source.go
parentf79f1deb956cd3f5788e7f602d883417badaebbd (diff)
downloadsearchix-9a2885694e2f8153151cc92772d2bea85672939a.tar.lz
searchix-9a2885694e2f8153151cc92772d2bea85672939a.tar.zst
searchix-9a2885694e2f8153151cc92772d2bea85672939a.zip
refactor: remove toml special cases
Diffstat (limited to 'internal/config/source.go')
-rw-r--r--internal/config/source.go8
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
 }