Explorar el Código

JSON flags are not longer needed.

Manu Mtz-Almeida hace 10 años
padre
commit
35fd7fb480
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  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