Go Series: Learning How to Build a Web Service Using Go from Scratch Pt. 14 — Routes
2 min readJul 16, 2023
We’ve got our controller. Now it’s just a matter of fact that we need to connect it to some route.
Remember we have a UserController
struct and NewUserController
method to create this struct.
Since we have defined the routes already as such
func NewUserController(r…