老师你好,然后我执行就会提示这个了
twj@tongwenjiedeMacBook-Pro crawler_distributed % go run persist/rpc.go
persist/rpc.go:5:2: module go_test/crawler provides package go_test/crawler/engine and is replaced but not required; to add it:
go get go_test/crawler
然后我再执行
twj@tongwenjiedeMacBook-Pro crawler_distributed % go get go_test/crawler
go_test/crawler imports
crawler/engine: package crawler/engine is not in GOROOT (/usr/local/go/src/crawler/engine)
go_test/crawler imports
crawler/persist: package crawler/persist is not in GOROOT (/usr/local/go/src/crawler/persist)
go_test/crawler imports
crawler/scheduler: package crawler/scheduler is not in GOROOT (/usr/local/go/src/crawler/scheduler)
go_test/crawler imports
crawler/zhenai/parser: package crawler/zhenai/parser is not in GOROOT (/usr/local/go/src/crawler/zhenai/parser)