Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
joway committed Oct 16, 2024
1 parent e1f662d commit 2d7a97a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pkg/remote/trans/streamx/server_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,10 @@ func (f *svrTransHandlerFactory) NewTransHandler(opt *remote.ServerOption) (remo
}, nil
}

var _ remote.ServerTransHandler = &svrTransHandler{}
var errProtocolNotMatch = errors.New("protocol not match")
var (
_ remote.ServerTransHandler = &svrTransHandler{}
errProtocolNotMatch = errors.New("protocol not match")
)

type svrTransHandler struct {
opt *remote.ServerOption
Expand Down

0 comments on commit 2d7a97a

Please sign in to comment.