diff options
author | Aoang <aoang@x2oe.com> | 2022-08-14 17:31:57 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-14 11:31:57 +0200 |
commit | ea6052464e7221956dedf9b9a523f8f9892c3d3b (patch) | |
tree | 089ef1b083c7d9edc7d54bc2485b1a564a2cc368 /client.go | |
parent | Improve Client timeout (#1346) (diff) | |
download | fasthttp-ea6052464e7221956dedf9b9a523f8f9892c3d3b.tar.gz fasthttp-ea6052464e7221956dedf9b9a523f8f9892c3d3b.tar.bz2 fasthttp-ea6052464e7221956dedf9b9a523f8f9892c3d3b.zip |
* Update Go Version to Go1.19.x And add cache
* Fix CI Line endings
* Update test CI Go Version to Go1.19.x And add cache
* Update Gosec Security Scanner CI to securego/gosec@v2.12.0
* Format comment
Go 1.19 adds support for links, lists, and clearer headings in doc comments. As part of this change, gofmt now reformats doc comments to make their rendered meaning clearer. See “Go Doc Comments” for syntax details and descriptions of common mistakes now highlighted by gofmt. As another part of this change, the new package go/doc/comment provides parsing and reformatting of doc comments as well as support for rendering them to HTML, Markdown, and text.
ref: https://tip.golang.org/doc/go1.19
ref: https://tip.golang.org/doc/comment
* Fix doc structure
Diffstat (limited to 'client.go')
-rw-r--r-- | client.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1467,7 +1467,7 @@ func (e *timeoutError) Error() string { // Only implement the Timeout() function of the net.Error interface. // This allows for checks like: // -// if x, ok := err.(interface{ Timeout() bool }); ok && x.Timeout() { +// if x, ok := err.(interface{ Timeout() bool }); ok && x.Timeout() { func (e *timeoutError) Timeout() bool { return true } |