test proto

This commit is contained in:
eson
2023-10-23 18:36:55 +08:00
parent 107e344ff5
commit e851a4b43c
5 changed files with 10 additions and 551 deletions

View File

@@ -1,11 +1,11 @@
syntax = "proto3"; //版本声明使用v3版本
package service.auth;
option go_package = "fusen-auth/gen/go/auth/";
option go_package = "fusen-auth/gen/go/auth";
// 导入google/api/annotations.proto 注释依赖
import "google/api/annotations.proto";
// import "basic.proto";
import "service/basic.proto";
//定义服务
service AuthService {
@@ -24,8 +24,4 @@ service AuthService {
message AuthRequest {
string name = 1;
}
// 定义响应消息类型.
message Response {
string message = 1;
}