how to avoid cyclic import in golang

后端 未结 0 676
清酒与你
清酒与你 2020-12-28 10:08

Cyclic dependency is fundamentally a bad design and is a compile-time error in Golang.

import (
  "fmt"
  "isha/b"
)
type A struct {
}
fun         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题