模拟相亲网站
来源:14-5 模拟相亲网站上线啦!

嫖太繁
2020-04-07
老师,跑模拟相亲网站的时候go run mockserver/main.go会报错Cannot create city template: open mockServer/generator/city/city_tmpl.html: no such file or directory. Please make sure working directory is the root of the repository, where we have go.mod/go.sum. Suggested command line: go run mockserver/main.go
exit status 1,然后发现好像是mockserver的大小写有点问题,是故意这么写的吗。。。
写回答
2回答
-
ccmouse
2020-04-08
不是故意的,我写错了:(
已经修复。
00 -
嫖太繁
提问者
2020-04-08
另外老师我还有个问题就是ide用的有点懵逼,我把git clone下来的按照imooc.com/ccmouse/learngo/这种目录放在gopath下了,不过ide里面看起来却是这样的
它说cannot resolve directory ccmouse,但是直接build main.go又能跑,这是咋回事呢...
022020-04-08
相似问题
最新页面无法选择出城市
回答 2
用户解析器的问题
回答 1