Skip to content

Commit

Permalink
Pass golint
Browse files Browse the repository at this point in the history
  • Loading branch information
Taik committed Nov 9, 2016
1 parent 27160f2 commit ef752ab
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions types/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ func (j *JSONText) UnmarshalJSON(data []byte) error {
}
*j = append((*j)[0:0], data...)
return nil

}

// Value returns j as a value. This does a validating unmarshal into another
Expand Down Expand Up @@ -117,7 +116,7 @@ func (j *JSONText) Unmarshal(v interface{}) error {
return json.Unmarshal([]byte(*j), v)
}

// Pretty printing for JSONText types
// String supports pretty printing for JSONText types.
func (j JSONText) String() string {
return string(j)
}
Expand Down

0 comments on commit ef752ab

Please sign in to comment.