Skip to content

Commit

Permalink
objects.go: Fix internal golint suggestions. (#46)
Browse files Browse the repository at this point in the history
Fixes:
===
objects.go:503:1: receiver name v should be consistent with previous receiver name val for EADefListValue
===
  • Loading branch information
eest authored and johnbelamaric committed Mar 5, 2018
1 parent a611614 commit cb9e30b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions objects.go
Original file line number Diff line number Diff line change
Expand Up @@ -456,9 +456,9 @@ func (eas EASearch) MarshalJSON() ([]byte, error) {
return json.Marshal(m)
}

func (val EADefListValue) MarshalJSON() ([]byte, error) {
func (v EADefListValue) MarshalJSON() ([]byte, error) {
m := make(map[string]string)
m["value"] = string(val)
m["value"] = string(v)

return json.Marshal(m)
}
Expand Down

0 comments on commit cb9e30b

Please sign in to comment.