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
1616## Features
1717
1818- Minimal and idiomatic API
19- - Tiny codebase at 1700 lines
19+ - Tiny codebase at 2200 lines
2020- First class [ context.Context] ( https://blog.golang.org/context ) support
2121- Thorough tests, fully passes the [ autobahn-testsuite] ( https://github.com/crossbario/autobahn-testsuite )
2222- [ Zero dependencies] ( https://godoc.org/nhooyr.io/websocket?imports )
@@ -115,7 +115,7 @@ Just compare the godoc of
115115
116116The API for nhooyr/websocket has been designed such that there is only one way to do things
117117which 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,
119119more code to test, more code to document and more surface area for bugs.
120120
121121Moreover, 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