mirror of
https://github.com/btcsuite/btcd.git
synced 2024-11-19 01:40:07 +01:00
Use exported field with struct tag in tests.
Found by golint.
This commit is contained in:
parent
f61b8c808d
commit
586ea151a9
@ -320,7 +320,7 @@ func TestResultStructHelp(t *testing.T) {
|
||||
name: "struct with primitive field and json tag",
|
||||
reflectType: func() reflect.Type {
|
||||
type s struct {
|
||||
field int `json:"f"`
|
||||
Field int `json:"f"`
|
||||
}
|
||||
return reflect.TypeOf(s{})
|
||||
}(),
|
||||
|
Loading…
Reference in New Issue
Block a user