Systematically troubleshoot Go module not found, undefined, import cycle, panic, and build failures — root causes, diagnosis steps, and fix code.