[BUG] go install broken
🎯 Describe the Bug
The README states, that the cli tool can be installed by running go install github.com/goclone-dev/goclone/cmd/goclone@latest. It seems like the project was moved to another organisation, but the latest release contains the imthaghost organisation as the path in go.mod.
go install github.com/goclone-dev/goclone/cmd/goclone@latest
go: github.com/goclone-dev/goclone/cmd/goclone@latest: version constraints conflict:
github.com/goclone-dev/[email protected]: parsing go.mod:
module declares its path as: github.com/imthaghost/goclone
but was required as: github.com/goclone-dev/goclone
Running go install github.com/imthaghost/goclone/cmd/goclone@latest works as expected.
📝 To Reproduce
go install github.com/goclone-dev/goclone/cmd/goclone@latest
✨ Expected Behavior
Installing the tool works.
💻 Environment
- OS: macOS Sequoia 15.5
- Go version:
go1.24.3
same here:
go install github.com/goclone-dev/goclone/cmd/goclone@latest
go: downloading github.com/goclone-dev/goclone v1.2.1
go: github.com/goclone-dev/goclone/cmd/goclone@latest: version constraints conflict:
github.com/goclone-dev/[email protected]: parsing go.mod:
module declares its path as: github.com/imthaghost/goclone
but was required as: github.com/goclone-dev/goclone
Same
go install github.com/imthaghost/goclone/cmd/goclone@latest Work for me
Thanks for reporting this. The issue with v1.2.1 was that its commit still referenced the old module path github.com/imthaghost/goclone/cmd/goclone in go.mod, which broke installs.
We’ve moved the repo to the new organization and published a new release with the corrected module path, so the problem is resolved.
Please update to the latest release (or v1.2.2+):
/ # go install github.com/goclone-dev/goclone/cmd/goclone@latest
go: downloading github.com/goclone-dev/goclone v1.2.2
go: downloading github.com/spf13/cobra v1.9.1
...
/ # /root/go/bin/goclone
Usage:
goclone <url> [flags]
Flags:
-C, --cookie strings Pre-set these cookies
-h, --help help for goclone
-o, --open Automatically open project in deafult browser
-p, --proxy_string string Proxy connection string. Support http and socks5 https://pkg.go.dev/github.com/gocolly/colly#Collector.SetProxy
-s, --serve Serve the generated files using Echo.
-P, --servePort int Serve port number. (default 5000)
-u, --user_agent string Custom User Agent
If you still see errors, try clearing the module cache:
go clean -modcache
Please reopen the issue if the error persists.