package
0.0.0-20210818084432-aea36be32079
Repository: https://github.com/go-masonry/tutorial.git
Documentation: pkg.go.dev
# README
/app/controllers
Code in this directory should handle everything related to business logic of this service.
Examples
- Process request
- Convert DTO to DB Model
- Call DB operations
- Call external services
# Functions
CreateSubWorkshopController is a constructor to be used by Fx.
CreateWorkshopController is a constructor for Fx.
FromModelCarToProtoCar converts our data Entity to workshop proto model.
FromProtoCarToModelCar converts workshop proto model to our data Entity.
# Interfaces
SubWorkshopController responsible for the business logic of our Sub Workshop.
WorkshopController responsible for the business logic of our Workshop.