Remove ToString0[T] usage to fix golangci-lint

This commit is contained in:
世界
2022-07-10 22:00:28 +08:00
parent 725b15175d
commit 730599470e
24 changed files with 59 additions and 99 deletions

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
}