pires / go-proxyproto

A Go library implementation of the PROXY protocol, versions 1 and 2.
Apache License 2.0
478 stars 107 forks source link

fix staticcheck warning: don't use Yoda conditions (ST1017) #82

Closed drakkan closed 3 years ago

drakkan commented 3 years ago

These changes were included in the latest version of #80, closing

pires commented 3 years ago

I'd prefer to keep this open and have it merged as part of your PR.

coveralls commented 3 years ago

Coverage Status

Coverage remained the same at 94.353% when pulling b80918084c877cd4f84c70996863cec0c1f74bdd on drakkan:staticcheck into 3aa7ea95a821cf534fae576651e2ca11f222a4e3 on pires:main.

pires commented 3 years ago

Thank you for your contribution. If you feel like helping a bit more, #73 is a blocker for us to move to Go 1.16+ 😭