Rename type to resource (res) and service to svc
Naming the resources "type" was a stupid mistake, and is a huge source of confusion when also talking about real types. Fix this before it gets out of hand.
This commit is contained in:
@@ -152,7 +152,7 @@ func TestMiscT6(t *testing.T) {
|
||||
|
||||
type foo struct {
|
||||
Name string `yaml:"name"`
|
||||
Type string `yaml:"type"`
|
||||
Res string `yaml:"res"`
|
||||
Value int `yaml:"value"`
|
||||
}
|
||||
|
||||
@@ -175,7 +175,7 @@ func TestMiscT7(t *testing.T) {
|
||||
|
||||
type Foo struct {
|
||||
Name string `yaml:"name"`
|
||||
Type string `yaml:"type"`
|
||||
Res string `yaml:"res"`
|
||||
Value int `yaml:"value"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user