Go Blogs
Configuration with Viper in Go
Viper is a Go package that finds, loads, and unmarshals configuration files. We will use it to load the configuration from an envfile in a Go project.
Test with Testify and Mockery in Go
In Go, we write unit tests with Testify, a toolkit for assertions and mocks, and Mockery, which auto-generates mocks for our interfaces.
Go JWT Authentication Middleware
A JWT Authentication Middleware in Go checks the JSON Web Token of every request before it reaches the handler, without any database query to verify it.
Go Backend Clean Architecture
Clean architecture in a Go backend splits the project into five layers, which are Router, Controller, Usecase, Repository, and Domain. Let's learn it with a project.