December 7, 2023

Golang / Go Crash Course 07 | Building a Docker Container for our REST API

In this article we are going to build a docker container for our Golang application and before doing that we are going to quickly setup Go Modules that will allow us to manage the application dependencies efficiently and also will help us to down load those libraries to build and run the application using docker containers.

Golang / Go Crash Course 07 | Building a Docker Container for our REST API Read More

Golang / Go Crash Course 04 | Unit testing our code by Mocking with Testify

In this article, we are going to unit test our application by mocking some components in order to isolate the modules that we want to test. In the previous article we refactored our API implement a Clean Architecture approach so we created all these interfaces. We are going to use Testify to create the mock repository that is going to be an implementation of the post repository interface.

Golang / Go Crash Course 04 | Unit testing our code by Mocking with Testify Read More