From 2ad20d5fc81bd601827a61c7d38d7d8175672a71 Mon Sep 17 00:00:00 2001 From: yinheli Date: Sun, 27 Jun 2021 12:51:12 +0800 Subject: [PATCH] fix typo --- tools/xservice/gogen/assets/project/buf/v1/helloworld.proto.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/xservice/gogen/assets/project/buf/v1/helloworld.proto.tpl b/tools/xservice/gogen/assets/project/buf/v1/helloworld.proto.tpl index 60aef98..d0a1ecc 100644 --- a/tools/xservice/gogen/assets/project/buf/v1/helloworld.proto.tpl +++ b/tools/xservice/gogen/assets/project/buf/v1/helloworld.proto.tpl @@ -24,7 +24,7 @@ service HelloWorldService { } message HelloRequest { - // The name who you want to say hello (name should be `1 <= name <= 32`) + // The name who you want to say hello (name's length should be `1 <= len(name) <= 32`) string name = 1 [(validate.rules).string = {min_len: 1, max_len: 32}]; }