Skip to content

Commit 6720e95

Browse files
committed
missing fields in go type
1 parent 4077304 commit 6720e95

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

pkg/config/config.go

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ type Column struct {
7777
Filter string `yaml:"filter,omitempty" json:"filter,omitempty"`
7878
Default bool `yaml:"default,omitempty" json:"default,omitempty"`
7979
Width int `yaml:"width,omitempty" json:"width,omitempty"`
80-
Feature string `yaml:"feature" json:"feature"`
80+
Feature string `yaml:"feature,omitempty" json:"feature,omitempty"`
8181
}
8282

8383
type Filter struct {
@@ -98,8 +98,10 @@ type Scope struct {
9898
ShortName string `yaml:"shortName" json:"shortName"`
9999
Description string `yaml:"description" json:"description"`
100100
Labels []string `yaml:"labels" json:"labels"`
101-
Feature string `yaml:"feature" json:"feature"`
102-
Groups []string `yaml:"groups" json:"groups"`
101+
Feature string `yaml:"feature,omitempty" json:"feature,omitempty"`
102+
Groups []string `yaml:"groups,omitempty" json:"groups,omitempty"`
103+
Filter string `yaml:"filter,omitempty" json:"filter,omitempty"`
104+
Filters []string `yaml:"filters,omitempty" json:"filters,omitempty"`
103105
}
104106

105107
type QuickFilter struct {

0 commit comments

Comments
 (0)