写个 sdk 的测试时报错 import cycle not allowed in test

后发现因为测试文件内多写了导入同包路径.

package 下的 xxx_test.go 内不需要额外 import.

相关文章:

  • 2021-05-27
  • 2022-12-23
  • 2021-04-07
  • 2021-09-11
  • 2021-12-26
  • 2021-12-22
  • 2021-07-16
  • 2022-12-23
猜你喜欢
  • 2021-08-22
  • 2022-12-23
  • 2021-06-24
  • 2022-12-23
  • 2021-06-28
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案