weixin_39960920
weixin_39960920
2020-11-26 18:56

error message (import)

In my package github.com/pierrre/geohash I try to create a slice of Point (https://github.com/pierrre/geohash/blob/master/geohash.go#L113-L116).

But gen returns an error:


➜  geohash git:(master) ✗ gen
geohash_benchmark_test.go:6:18: could not import github.com/Codefor/geohash (can't find import: github.com/Codefor/geohash)
exit status 1

or


➜  geohash git:(master) ✗ gen
cstest_test.go:6:2: could not import github.com/pierrre/cstest (can't find import: github.com/pierrre/cstest)
exit status 1

该提问来源于开源项目:clipperhouse/gen

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

7条回答