ipfs-shipyard / gomobile-ipfs

IPFS and libp2p on Mobile, with Gomobile
Other
315 stars 65 forks source link

fix: go.mod: Use quic-go v0.25.0 for go1.18 #130

Closed jefft0 closed 1 year ago

jefft0 commented 1 year ago

Changes for go1.18. Similar to the Berty pull request, In go/go.mod, add a replace for quic-go v0.25. In packages/go.mod, change to quic-go v0.25. Run go mod tidy to update the go.sum files.

Signed-off-by: jefft0 jeff@thefirst.org

jefft0 commented 1 year ago

The code compiles for go1.18 with the existing dnsconfig_deprecated.go (with go:build !go1.17). We do not get the following error which we get for go1.17 without the hack:

go.info.net.resolvConf: relocation target go.info.github.com/ipfs-shipyard/gomobile-ipfs/go/bind/core.resolverConfig not defined
github-actions[bot] commented 1 year ago

:tada: This PR is included in version 1.7.5 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: