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

use http.ReadRequest #11

Merged
merged 2 commits into from
May 1, 2023
Merged

use http.ReadRequest #11

merged 2 commits into from
May 1, 2023

Conversation

lesismal
Copy link
Contributor

@lesismal lesismal commented May 1, 2023

No description provided.

@lesismal
Copy link
Contributor Author

lesismal commented May 1, 2023

还有一些import格式的问题你看看要不要搞一下,标准库与非标准库分隔开,比如:

import (
	"bufio"
	"fmt"
	"net"
	"sync"
	"testing"
	"time"

	"github.com/lxzan/gws/internal"
	"github.com/stretchr/testify/assert"
)

我这个是vscode插件保存时自动就这种格式了,比较方便,我个人感觉也更舒服些

@lxzan
Copy link
Owner

lxzan commented May 1, 2023

原来标准库有解析请求的函数👍🏻
我平常用的goland,没有自动goimport,回头研究下

@lxzan lxzan changed the base branch from master to dev May 1, 2023 12:16
@lxzan lxzan merged commit 8db2dc9 into lxzan:dev May 1, 2023
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.

None yet

2 participants