Description

This allows to customize the field name used in the error response payload. It defaults to "Error" for compatibility reason, but can be changed before starting the server. eg: rest.ErrorFieldName = "errorMessage"

ErrorFieldName is referenced in 2 repositories

github.com/ant0ine/go-json-rest github.com/joshheinrichs/geosource