mirror of
https://github.com/v2fly/v2ray-core
synced 2024-02-27 03:18:06 +00:00
Lint: fix lint (#1427)
* Lint: replace golint with revive * Lint: fix lint
This commit is contained in:
@@ -80,7 +80,7 @@ func dialAPIServerWithContext(ctx context.Context) (conn *grpc.ClientConn) {
|
||||
return
|
||||
}
|
||||
|
||||
func protoToJSONString(m proto.Message, prefix, indent string) (string, error) {
|
||||
func protoToJSONString(m proto.Message, prefix, indent string) (string, error) { // nolint: unparam
|
||||
return strings.TrimSpace(protojson.MarshalOptions{Indent: indent}.Format(m)), nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user