Add golangci-lint CI (#516)

This commit is contained in:
Khanh Ngo 2023-12-31 21:46:30 +01:00 committed by GitHub
parent 769883f020
commit b3c22aa81f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 75 additions and 37 deletions

View file

@ -1,8 +1,9 @@
package handler
import (
"github.com/labstack/echo/v4"
"net/http"
"github.com/labstack/echo/v4"
)
// ContentTypeJson checks that the requests have the Content-Type header set to "application/json".