Showing 2 of 2 total issues
Function ParseRequest
has 9 return statements (exceeds 4 allowed). Open
Open
func ParseRequest(r *http.Request) ([]*Request, bool, *Error) {
var rerr *Error
if !strings.HasPrefix(r.Header.Get(contentTypeKey), contentTypeValue) {
return nil, false, ErrInvalidRequest()
2: cannot find package "github.com/goccy/go-json" in any of: Open
Open
"github.com/goccy/go-json"
- Exclude checks