gospider007 / gospider

🚀Gospider is a powerful Golang web crawler that includes all the necessary libraries for transitioning from Python to Golang. It provides a fast and seamless transition for Python web crawlers to Golang.
GNU Lesser General Public License v3.0
91 stars 22 forks source link

how install #8

Closed mohghezal closed 11 months ago

mohghezal commented 11 months ago

can you build binary go build not work and go get -u gitee.com/baixudong/gospider not work

gospider007 commented 11 months ago

你能构建二进制去构建不起作用,然后去得到 -u gitee.com/baixudong/gospider 不起作用吗

I can use it normally. Do you have any errors or specific error messages

mohghezal commented 11 months ago

root@kal-desktop:/home/kal# go get -u gitee.com/baixudong/gospider go: go.mod file not found in current directory or any parent directory. 'go get' is no longer supported outside a module. To build and install a command, use 'go install' with a version, like 'go install example.com/cmd@latest' For more information, see https://golang.org/doc/go-get-install-deprecation or run 'go help get' or 'go help install'.

gospider007 commented 11 months ago

root@kal-desktop:/home/kal# go get -u gitee.com/baixudong/gospider go: go.mod file not found in current directory or any parent directory. 'go get' is no longer supported outside a module. To build and install a command, use 'go install' with a version, like 'go install example.com/cmd@latest' For more information, see https://golang.org/doc/go-get-install-deprecation or run 'go help get' or 'go help install'.

Are you a beginner in Golang? Please use GO mod to initialize your project