about summary refs log tree commit diff stats
path: root/internal/config/repository.go
diff options
context:
space:
mode:
authorAlan Pearce2024-05-20 19:57:13 +0200
committerAlan Pearce2024-05-20 19:57:13 +0200
commit12d5d45a7894c3f6b6d598f9447de839d31436ef (patch)
tree179d57e1bf998184db3ee2df121904a37240356b /internal/config/repository.go
parenta90419aa46ec42588f65e6327559ce479f9c5b67 (diff)
downloadsearchix-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.go4
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 {