Skip to content

Commit

Permalink
Pacify linter.
Browse files Browse the repository at this point in the history
  • Loading branch information
echlebek committed Nov 23, 2017
1 parent 5872eeb commit 272567a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions types/dynamic/dynamic_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ func (m MyType) MarshalJSON() ([]byte, error) {
}

func (m *MyType) UnmarshalJSON(p []byte) error {
type __ MyType
var x __
type temporary MyType
var x temporary
if err := json.Unmarshal(p, &x); err != nil {
return err
}
Expand Down

0 comments on commit 272567a

Please sign in to comment.