@@ -11,13 +11,13 @@ import (
11
11
"gopkg.in/yaml.v3"
12
12
)
13
13
14
- // Settings represents the configuration aspects and authorization.
14
+ // Settings represents the configuration and authorization aspects .
15
15
type Settings struct {
16
16
Layout Layout `yaml:"layout"`
17
17
Github Github `yaml:"github"`
18
18
}
19
19
20
- // Layout represents permissions level and pull request funcionalities .
20
+ // Layout represents permissions level and pull request functionalities .
21
21
type Layout struct {
22
22
Administration Administration `yaml:"administration"`
23
23
PullRequest PullRequest `yaml:"pullRequest"`
@@ -28,7 +28,7 @@ type Administration struct {
28
28
Permission Permission `yaml:"permission"`
29
29
}
30
30
31
- // Permission represents high level user's permissions and repository permission .
31
+ // Permission represents high level user's and repository permissions .
32
32
type Permission struct {
33
33
Users []string `yaml:"users"`
34
34
Repositories []Repositories `yaml:"repositories"`
@@ -45,7 +45,7 @@ type Repository struct {
45
45
Users []string `yaml:"users"`
46
46
}
47
47
48
- // PullRequest represents commands and funcionalities .
48
+ // PullRequest represents commands and functionalities .
49
49
type PullRequest struct {
50
50
EnableOverview bool `yaml:"enableOverview"`
51
51
OverViewCommand string `yaml:"overViewCommand"`
@@ -56,7 +56,7 @@ type PullRequest struct {
56
56
TestSuite TestSuite `yaml:"testSuite"`
57
57
}
58
58
59
- // TestSuite represents configuration for test cases.
59
+ // TestSuite represents configuration for the test cases.
60
60
type TestSuite struct {
61
61
NamePattern string `yaml:"namePattern"`
62
62
Reviewers bool `yaml:"reviewers"`
@@ -75,7 +75,7 @@ type Github struct {
75
75
Events []string `yaml:"events"`
76
76
}
77
77
78
- // ReadConf initialize the yaml configuration
78
+ // ReadConf initialize the configuration.
79
79
func (c * Settings ) ReadConf () {
80
80
yamlFile , err := ioutil .ReadFile ("build/config-local.yaml" )
81
81
if err != nil {
0 commit comments