Browse Source

Improve config doc

Brendan Abolivier 7 years ago
parent
commit
a8b70fa099
Signed by: Brendan Abolivier <contact@brendanabolivier.com> GPG key ID: 8EF1500759F70623
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      src/config/config.go

+ 2
- 0
src/config/config.go View File

29
 }
29
 }
30
 
30
 
31
 // WebhookSettings contains the data required to setup the GitLab webhook.
31
 // WebhookSettings contains the data required to setup the GitLab webhook.
32
+// We declare the port as a string because, although it's a number, it's only
33
+// used in a string concatenation when creating the webhook.
32
 type WebhookSettings struct {
34
 type WebhookSettings struct {
33
 	Interface string `yaml:"interface"`
35
 	Interface string `yaml:"interface"`
34
 	Port      string `yaml:"port"`
36
 	Port      string `yaml:"port"`