template/internal/app/server.go

19 lines
289 B
Go
Raw Normal View History

2024-05-19 11:44:55 +00:00
package app
import (
proto "${REPO_NAME_SNAKE}/proto"
"context"
)
type Server struct {
proto.UnimplementedCRMServer
}
func NewServer() *Server {
return &Server{}
}
func (s *Server) Ping(_ context.Context, _ *proto.PingReq) (*proto.PingRsp, error) {
return &proto.PingRsp{}, nil
}