Goの import cycle not allowed を出しているのはコンパイラじゃない こんにちは、uho-wq です。 早速ですが、以下のソースコードをビルドするとどのような結果になるでしょうか? # ディレクトリ構成 $ tree . . ├── a │ └── a.go ├── b │ └── b.go └── go.mod 3 directories, 3 files // ./a/a.go package a import ( "example.com/cycle/b" ) func A() string { return b.B() } // ./b/b.go package…