golang gotchas #2 the curse of “import cycle not allowed”

“import cycle not allowed”

Welcome to the #2 post of the “golang gotchas” series. Today we will talk about the “import cycle not allowed”. This series is organised as follows:

  • code samples,
  • gotchas areas, and
  • theories

We know developers are very efficient in reading blogs and sort; hence wouldn’t it be nice if we can…