Browse Source

JSON flags are not longer needed.

Manu Mtz-Almeida 10 years ago
parent
commit
35fd7fb480
1 changed files with 3 additions and 3 deletions
  1. 3 3
      errors.go

+ 3 - 3
errors.go

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