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

支持 Golang #6

Merged
merged 2 commits into from
Aug 21, 2022
Merged

支持 Golang #6

merged 2 commits into from
Aug 21, 2022

Conversation

dxxhjk
Copy link
Contributor

@dxxhjk dxxhjk commented Aug 21, 2022

close #4

login(&client, "username", "password")
}

func login(client *http.Client, username, password string) {
Copy link
Member

@RinChanNOWWW RinChanNOWWW Aug 21, 2022

Choose a reason for hiding this comment

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

Suggested change
func login(client *http.Client, username, password string) {
func login(client *http.Client, username, password string) (*http.Client, error) {

@@ -0,0 +1,50 @@
package main
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
package main
package bupt_session_go

@RinChanNOWWW
Copy link
Member

本仓库需要对外提供 package,需要添加 go.mod。

@RinChanNOWWW
Copy link
Member

LGTM

@RinChanNOWWW RinChanNOWWW merged commit e9c67e9 into OpenBUPT:main Aug 21, 2022
@RinChanNOWWW RinChanNOWWW mentioned this pull request Aug 21, 2022
3 tasks
@RinChanNOWWW RinChanNOWWW changed the title bupt session golang 支持 Golang Aug 21, 2022
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.

支持 Go
2 participants