package app import ( "context" proto "${REPO_NAME_SNAKE}/proto" ) type server struct { proto.Unsafe{REPO_NAME_PASCAL}Server } func NewServer() proto.TestTemplateRepoServer { return &server{} } func (s *server) Ping(_ context.Context, _ *proto.PingReq) (*proto.PingRsp, error) { return &proto.PingRsp{}, nil } func (s *server) Echo(_ context.Context, req *proto.EchoReq) (*proto.EchoRsp, error) { return &proto.EchoRsp{Text: req.Text}, nil }