Steven Hartland

Results 280 comments of Steven Hartland

This just caught me out after following [guide for new-linters](https://golangci-lint.run/contributing/new-linters/) which doesn't mention that the release binaries are incompatible with this, making support for plugins a little mute as consumers...

While this works, could it be simplified to just an `x-ordered` e.g. ```yaml NewPet: type: object required: - name properties: x-ordered: true name: type: string tag: type: string ``` This...

Liking this functionality, allows for individual templates to be picked from different directories or file names. That said its still not as easy to use as `-templates ` on the...

Yep its been a while, updated to the latest version.

I’m afraid I don’t. I only submitted this as it was raised as an issue in [redigo](https://github.com/gomodule/redigo) which I maintain.

Thanks for posting this, enabled me to fix our own repo with the same issue :)

Just tripped over this one with code that calls `defer resp.Body.Close()` which is a very common pattern. ``` G307: Deferring unsafe method "Close" on type "io.ReadCloser" (gosec) ``` For the...

I believe the compiler in go 1.21 is doing this optimisation by default as there no difference between `string(reply)` and `unsafe.String(unsafe.SliceData(reply), len(reply))` when running the following benchmark. ```go func BenchmarkReplyHelpers(b...

Ensuring folks are aware of https://github.com/wuxibin89/redis-go-cluster as mentioned by @nelz9999 is linked in [README](../blob/f1e923c/README.markdown#related-projects), does that meet the requirements?