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

支持设置全局HTTPClient #761

Merged
merged 6 commits into from
Jan 2, 2024
Merged

Conversation

lehoqi
Copy link
Contributor

@lehoqi lehoqi commented Dec 28, 2023

支持设置全局HTTPClient

wc := wechat.NewWechat()
wc.SetHTTPClient(&http.Client{})

@lehoqi lehoqi changed the title 支持设置全局httpClient 支持设置全局HTTPClient Dec 29, 2023
util/http.go Outdated Show resolved Hide resolved
wechat.go Outdated Show resolved Hide resolved
@houseme
Copy link
Collaborator

houseme commented Dec 31, 2023

@lehoqi 上面评论处理一下

@silenceper silenceper merged commit 97e1af5 into silenceper:v2 Jan 2, 2024
12 checks passed
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.

3 participants