diff options
author | Alan Pearce | 2024-05-20 18:13:07 +0200 |
---|---|---|
committer | Alan Pearce | 2024-05-20 18:13:07 +0200 |
commit | 0f5508013d776f8806a87957f80e74c7f74c72eb (patch) | |
tree | 1d7b9bbe1b296d08d2ca9e740dc546cccaf4e1df /internal/config/source.go | |
parent | d0c2de9e762fb476b5cb53bb5129bf8af8cb9b45 (diff) | |
download | searchix-0f5508013d776f8806a87957f80e74c7f74c72eb.tar.lz searchix-0f5508013d776f8806a87957f80e74c7f74c72eb.tar.zst searchix-0f5508013d776f8806a87957f80e74c7f74c72eb.zip |
feat(config): print durations and URLs with human values
Diffstat (limited to 'internal/config/source.go')
-rw-r--r-- | internal/config/source.go | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/internal/config/source.go b/internal/config/source.go index 1fab61d..15b1aa0 100644 --- a/internal/config/source.go +++ b/internal/config/source.go @@ -1,9 +1,5 @@ package config -import ( - "time" -) - type Source struct { Name string Key string @@ -14,8 +10,8 @@ type Source struct { URL string Attribute string ImportPath string - FetchTimeout time.Duration - ImportTimeout time.Duration + FetchTimeout Duration + ImportTimeout Duration OutputPath string Repo Repository } |