Remove ToString0[T] usage to fix golangci-lint

This commit is contained in:
世界 committed 2022-07-10 22:00:28 +08:00
1 parent 0ef2e330e3
commit 6048b1e270
24 files changed
+59 -99

No files matched your search

-3
View File
@@ -43,9 +43,6 @@ func (h *HTTP) DialContext(ctx context.Context, network string, destination M.So
}
func (h *HTTP) ListenPacket(ctx context.Context, destination M.Socksaddr) (net.PacketConn, error) {
ctx, metadata := adapter.AppendContext(ctx)
metadata.Outbound = h.tag
metadata.Destination = destination
return nil, os.ErrInvalid
}