Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to "go get" latest version #6

Closed
z3ntu opened this issue Feb 9, 2020 · 3 comments
Closed

Unable to "go get" latest version #6

z3ntu opened this issue Feb 9, 2020 · 3 comments

Comments

@z3ntu
Copy link
Contributor

z3ntu commented Feb 9, 2020

$ go mod init test
go: creating new go.mod: module test
$ go get maunium.net/go/mautrix@HEAD
go: finding maunium.net HEAD
go: finding maunium.net/go/mautrix HEAD
go: finding maunium.net/go HEAD
go: downloading maunium.net/go/mautrix v0.1.0-alpha.3.0.20200209182939-9df6760d40d2
go: extracting maunium.net/go/mautrix v0.1.0-alpha.3.0.20200209182939-9df6760d40d2
go get: maunium.net/go/mautrix@v0.1.0-alpha.3.0.20200209182939-9df6760d40d2 requires
        gopkg.in/russross/blackfriday.v2@v2.0.1: go.mod has non-....v2 module path "github.com/russross/blackfriday/v2" at revision v2.0.1
@tulir
Copy link
Member

tulir commented Feb 9, 2020

I think blackfriday had some go module mess, so you need to add https://github.com/tulir/mautrix-go/blob/master/go.mod#L11 to your go.mod

@z3ntu
Copy link
Contributor Author

z3ntu commented Feb 9, 2020

After completely removing go.mod, go.sum, then go mod init test & putting the replace statement in before running anything seems to fix the issue.. Thanks for the help!

@tulir
Copy link
Member

tulir commented Feb 19, 2020

It appears blackfriday no longer has that go module mess, so the replace is no longer needed.

@tulir tulir closed this as completed Feb 19, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants