ar bg de en es fr id it nl pl pt sv tr zh

go language

Testing in Golang

Ariel Orozco

Testing is a crucial part of software development, ensuring that your code works as expected and reducing the number of bugs and issues. In Go, testing is built into the language, making it straightforward to write tests. This blog post will provide a comprehensive guide on testing in Go, covering...

Domain Driven Design & Go

Ariel Orozco

Domain-driven design (DDD) is a software development approach that emphasizes the importance of understanding the business domain in order to create effective software solutions. By identifying and modeling key business concepts, DDD helps developers create software that aligns with the needs of...

How to Soft Delete with MongoDB and Go

Ariel Orozco

If you have to implement an API with CRUD operations on MongoDB with Go, but with the caveat that the documents on a collection had to be deleted using the soft delete pattern, then continue reading to find out how. You can find the full source code here:...

Factory Method Design Pattern in Go

Ariel Orozco

So, what is it about? The Factory Method design pattern solves the problem of creating objects without specifying their concrete classes. It provides an interface to create them in a parent class but allows child classes to change the type of objects that will be created. Interesting... How does...