Why is the function defined in another file, but in the same package, not visible?

后端 未结 0 1517
时光说笑
时光说笑 2021-02-06 22:16

In the file driver.go defined the function, in driver_test.go it is used inside the test, these two files are part of one package, but when I run go test -v ./driver_test<

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