Posted on Leave a comment

Implementing an Event Driven System in Go

Events in Go

In this post, we will implement an event driven system in Go. We are going to imagine a fictional application where we want to send out events for when a new account is created and another for when an account is deleted. Let’s assume that the current structure of our program looks like this: working-dir | |__auth.go/ | |__auth.go | |__main.go |__go.mod |__go.sum We would like this system to: Be type safe. No interface{}, no need…

Read more

Posted on Leave a comment