Closed okybr closed 3 years ago
The lastest commit -- https://github.com/cespare/reflex/commit/13e5691dcde5f7c29c144d1cb8c34f453d78505d -- uses errors.Is (from the errors package) which was introduced with Go version v1.13. (You can compare the documentation of the different versions like https://pkg.go.dev/errors@go1.13.) But the README of this package still states that it only requires v1.11. Thus, there's a contradiction which can be resolved
errors.Is
errors
reflex.go
As the service ran by my company does not yet use v1.13, we'd prefer you to choose the second way.
I'd rather keep using the new features. I updated the installation instructions in the README.
I've added binary downloads to the Releases page so you can install that way if you wish.
The lastest commit -- https://github.com/cespare/reflex/commit/13e5691dcde5f7c29c144d1cb8c34f453d78505d -- uses
errors.Is
(from theerrors
package) which was introduced with Go version v1.13. (You can compare the documentation of the different versions like https://pkg.go.dev/errors@go1.13.) But the README of this package still states that it only requires v1.11. Thus, there's a contradiction which can be resolvedreflex.go
again so that it does not useerrors.Is
so that this package still works with Go v1.11.As the service ran by my company does not yet use v1.13, we'd prefer you to choose the second way.