Fix linter

This commit is contained in:
世界
2025-02-15 12:43:37 +08:00
parent 8f16eec0de
commit 9a6fb1e0c4
3 changed files with 3 additions and 2 deletions

View File

@@ -18,6 +18,7 @@ type GRPCConn struct {
}
func NewGRPCConn(service GunService) *GRPCConn {
//nolint:staticcheck
if client, isClient := service.(GunService_TunClient); isClient {
service = &clientConnWrapper{client}
}