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

build: adapt to the latest quic-go and update version to support Go 1.21 and 1.22 #10

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

EZ4Jam1n
Copy link

What type of PR is this?

build

What this PR does / why we need it (en: English/zh: Chinese):

en:
zh:
#9
quic-go在0.34.0版本后使用channels代替context.Context,同时支持了更新的go版本

由于目前pr没有合进去,所以go mod采用replace代替相关库

Which issue(s) this PR fixes:

Fixes #<9>

@@ -1,11 +1,11 @@
/*
* Copyright 2023 CloudWeGo Authors
* Copyright 2022 CloudWeGo Authors
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why change this field?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sry

"crypto/tls"
"fmt"
"github.com/quic-go/quic-go"
"github.com/quic-go/quic-go/http3"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe with formatted imports?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

get

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

Successfully merging this pull request may close these issues.

2 participants