test proto
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user