Skip to content

Commit

Permalink
chore: make lint happy
Browse files Browse the repository at this point in the history
  • Loading branch information
fumiama committed Feb 14, 2025
1 parent 02e9f18 commit 3b1ad6c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ linters:
#- depguard
- dogsled
- errcheck
- exportloopref
#- exportloopref
- exhaustive
#- funlen
#- goconst
Expand Down
2 changes: 1 addition & 1 deletion driver/funcall.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ func (f *FCClient) Listen(handler func([]byte, zero.APICaller)) {

// CallAPI 发送请求
//
//nolint:stylecheck,revive
//nolint:revive
func (f *FCClient) CallAPI(req zero.APIRequest) (zero.APIResponse, error) {
req.Echo = f.nextSeq()
rsp, err := f.handleRequest(&req)
Expand Down
1 change: 1 addition & 0 deletions img/pool/sender.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package pool only for backports
package pool

import (
Expand Down
2 changes: 1 addition & 1 deletion vevent/vcall.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func NewAPICallerReturnHook(ctx *zero.Ctx, callback func(rsp zero.APIResponse, e

// CallAPI call original caller and pass rsp to callback
//
//nolint:stylecheck,revive
//nolint:revive
func (v *APICallerReturnHook) CallAPI(request zero.APIRequest) (rsp zero.APIResponse, err error) {
rsp, err = v.caller.CallAPI(request)
go v.callback(rsp, err)
Expand Down

0 comments on commit 3b1ad6c

Please sign in to comment.