Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
simlecode committed Aug 2, 2022
1 parent 6eeecfa commit ebc4df8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ venus-auth:show-env $(BUILD_DEPS)
go build $(GOFLAGS) -o venus-auth ./cmd/server/*.go

lint:
gofmt -s -w ./
golangci-lint run

linux: clean
Expand Down
2 changes: 1 addition & 1 deletion auth/route.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ func InitRouter(app OAuthApp) http.Handler {
router := gin.New()
router.Use(CorsMiddleWare())

router.GET("/version", func (c *gin.Context){
router.GET("/version", func(c *gin.Context) {
type version struct {
Version string
}
Expand Down

0 comments on commit ebc4df8

Please sign in to comment.