mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-10-10 20:22:31 +02:00
Lint with golangci-lint; Fix linter issues; Add Go 1.12 to CircleCI
This commit is contained in:
@@ -16,12 +16,14 @@ import (
|
||||
type ProcessingOptionsTestSuite struct{ MainTestSuite }
|
||||
|
||||
func (s *ProcessingOptionsTestSuite) getRequest(url string) *fasthttp.RequestCtx {
|
||||
req := fasthttp.Request{}
|
||||
req.SetRequestURI(url)
|
||||
return &fasthttp.RequestCtx{
|
||||
Request: req,
|
||||
ctx := fasthttp.RequestCtx{
|
||||
Request: fasthttp.Request{},
|
||||
Response: fasthttp.Response{},
|
||||
}
|
||||
|
||||
ctx.Request.SetRequestURI(url)
|
||||
|
||||
return &ctx
|
||||
}
|
||||
|
||||
func (s *ProcessingOptionsTestSuite) TestParseBase64URL() {
|
||||
|
Reference in New Issue
Block a user