DiagnosticsError codes
M0023 import cycle
Two or more packages import each other.
Go does not allow import cycles. Move the shared code into a third package that both import.
The mistake and the fix
// package a imports b, package b imports a// move what both need into package c; a and b import cSee also all error codes and marmot explain.