How to fix import cycle in Go

I was modularizing a small project in Go and for the first time I encountered an “import cycle not allowed” message. So i do the following…