#Delivery Layer
3 articles
09 Configuring HTTP Router, HTTP Server and Database Connection
At this stage we will create the main
function of the project that we have created. In the main
function we will add several function initializations which are used to initialize all the resources
needed by the project such as database connections, handler initialization, usecases and repositories that we have previously created.
08 Adding a Request Validator Using Golang Playground
At this stage we will add validation for each request sent to the API Application on our Services for example on add, change and delete requests. The validation we use is package github.com/go-playground/validator.
07 Creating a Handler as a Data Delivery Layer
At this stage we will continue the project that we have created by creating a Delivery Layer. This layer as explained earlier is a layer that connects user requests with the logic layer.