25% off

Use code FUNCMAIN at checkout for 25% off all premium courses.

Get started →

Course Erratum

February 28, 2021
Elliot Forbes

Elliot Forbes

Course Instructor

Hey Gophers! My name is Elliot and I'm the creator of TutorialEdge and I've been working with Go systems for roughly 5 years now.

This article will be updated as and when new issues with the course are brought to my attention or I realise a better way of doing things.

Dependency Inversion Principle

Whilst the way that I’ve implemented the interfaces and their concrete implementations works. One approach that could have improved the design would have been to define the interfaces within the packages that need them and follow the dependency inversion principle.

This helps to keep the interfaces small and allows for easier mocking.