File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ go get nhooyr.io/websocket
16
16
## Features
17
17
18
18
- Minimal and idiomatic API
19
- - Tiny codebase at 1700 lines
19
+ - Tiny codebase at 2200 lines
20
20
- First class [ context.Context] ( https://blog.golang.org/context ) support
21
21
- Thorough tests, fully passes the [ autobahn-testsuite] ( https://github.com/crossbario/autobahn-testsuite )
22
22
- [ Zero dependencies] ( https://godoc.org/nhooyr.io/websocket?imports )
@@ -115,7 +115,7 @@ Just compare the godoc of
115
115
116
116
The API for nhooyr/websocket has been designed such that there is only one way to do things
117
117
which makes it easy to use correctly. Not only is the API simpler, the implementation is
118
- only 1700 lines whereas gorilla/websocket is at 3500 lines. That's more code to maintain,
118
+ only 2200 lines whereas gorilla/websocket is at 3500 lines. That's more code to maintain,
119
119
more code to test, more code to document and more surface area for bugs.
120
120
121
121
Moreover, nhooyr/websocket has support for newer Go idioms such as context.Context and
You can’t perform that action at this time.
0 commit comments