Files
api_tmpl/proto/rpc_update_user.proto
2026-01-08 01:15:07 +00:00

19 lines
328 B
Protocol Buffer

syntax = "proto3";
package pb;
import "user.proto";
option go_package = "github.com/FernandoJVideira/simple_bank/pb";
message UpdateUserRequest {
string username = 1;
optional string full_name = 2;
optional string email = 3;
optional string password = 4;
}
message UpdateUserResponse {
User user = 1;
}