forked from kyoh86/richgo
/
config.go
20 lines (16 loc) · 1021 Bytes
/
config.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package config
// Config holds settings for richgo
type Config struct {
LabelType *LabelType `json:"labelType,omitempty" yaml:"labelType,omitempty"`
BuildStyle *Style `json:"buildStyle,omitempty" yaml:"buildStyle,omitempty"`
StartStyle *Style `json:"startStyle,omitempty" yaml:"startStyle,omitempty"`
PassStyle *Style `json:"passStyle,omitempty" yaml:"passStyle,omitempty"`
FailStyle *Style `json:"failStyle,omitempty" yaml:"failStyle,omitempty"`
SkipStyle *Style `json:"skipStyle,omitempty" yaml:"skipStyle,omitempty"`
FileStyle *Style `json:"fileStyle,omitempty" yaml:"fileStyle,omitempty"`
LineStyle *Style `json:"lineStyle,omitempty" yaml:"lineStyle,omitempty"`
CoverThreshold *int `json:"coverThreshold,omitempty" yaml:"coverThreshold,omitempty"`
CoveredStyle *Style `json:"coveredStyle,omitempty" yaml:"coveredStyle,omitempty"`
UncoveredStyle *Style `json:"uncoveredStyle,omitempty" yaml:"uncoveredStyle,omitempty"`
Removals []string `json:"removals,omitempty" yaml:"removals,omitempty"`
}