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 update go.mod file when compiling a project with source code referenced from v5.18.0 #3148

Open
jan-bar opened this issue Sep 9, 2024 · 1 comment

Comments

@jan-bar
Copy link

jan-bar commented Sep 9, 2024

As shown in the figure below

image

@dyhkwong
Copy link
Contributor

dyhkwong commented Sep 9, 2024

replace these two like this in the go.mod of your project

v2ray-core/go.mod

Lines 93 to 95 in 8b36010

replace github.com/lunixbochs/struc v0.0.0-20200707160740-784aaebc1d40 => github.com/xiaokangwang/struc v0.0.0-20231031203518-0e381172f248
replace github.com/apernet/hysteria/core/v2 v2.4.5 => github.com/JimmyHuang454/hysteria/core/v2 v2.0.0-20240724161647-b3347cf6334d

P.S. For a go 1.23 go.mod, quic-go (and the newly introduced apernet quic-go fork) currently needs to compile with asynctimerchan=1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants