go17/skills/protobuf/hello.proto
2025-02-16 14:56:06 +08:00

24 lines
354 B
Protocol Buffer

syntax = "proto3";
package hello;
option go_package="gitlab.com/go-course-project/go17/skills/protobuf";
// type HelloRequest struct {
// MyName string `json:"my_name"`
// }
// type HelloResponse struct {
// Message string `json:"message"`
// }
message HelloRequest {
string my_name = 1;
}
message HelloResponse {
string message = 1;
}