We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There's no good way to leave comments in code, so I'll leave them all here
doc.go
IsErrorStruct
reflect.TypeOf(x).Name{}
glide.yaml
testify
testImport
statusCodeToStruct
case http.StatusForbidden: var badRequest InvalidFormatResponse
// err = json.Unmarshal(body, &result)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
There's no good way to leave comments in code, so I'll leave them all here
doc.go
file looks like a copy of the readme file. First you need to update it. Second - is there a way to automate that?IsErrorStruct
you should use a type switch instead of iterating over an array of string withreflect.TypeOf(x).Name{}
glide.yaml
,testify
should be atestImport
statusCodeToStruct
has a switch inside a switch. Rubs me the wrong way. I would extract a function out of the internal switch// err = json.Unmarshal(body, &result)
The text was updated successfully, but these errors were encountered: