JSON flags are not longer needed.

This commit is contained in:
Manu Mtz-Almeida 2015-05-23 02:01:43 +02:00
parent 2ebb6dcb95
commit 35fd7fb480

View File

@ -25,9 +25,9 @@ const (
type ( type (
Error struct { Error struct {
Err error `json:"error"` Err error
Type ErrorType `json:"-"` Type ErrorType
Meta interface{} `json:"meta"` Meta interface{}
} }
errorMsgs []*Error errorMsgs []*Error