diff options
author | Alan Pearce | 2024-05-20 19:57:13 +0200 |
---|---|---|
committer | Alan Pearce | 2024-05-20 19:57:13 +0200 |
commit | 12d5d45a7894c3f6b6d598f9447de839d31436ef (patch) | |
tree | 179d57e1bf998184db3ee2df121904a37240356b /internal/config/repository.go | |
parent | a90419aa46ec42588f65e6327559ce479f9c5b67 (diff) | |
download | searchix-12d5d45a7894c3f6b6d598f9447de839d31436ef.tar.lz searchix-12d5d45a7894c3f6b6d598f9447de839d31436ef.tar.zst searchix-12d5d45a7894c3f6b6d598f9447de839d31436ef.zip |
docs: add comments to default configuration
Diffstat (limited to 'internal/config/repository.go')
-rw-r--r-- | internal/config/repository.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/config/repository.go b/internal/config/repository.go index 957cad4..44d8251 100644 --- a/internal/config/repository.go +++ b/internal/config/repository.go @@ -13,10 +13,10 @@ const ( ) type Repository struct { - Type string `default:"github"` + Type string `toml:"" default:"github" comment:"Currently only 'github' is supported."` Owner string Repo string - Revision string + Revision string `toml:"-"` } func (f RepoType) String() string { |