Closed cuijianguo closed 1 year ago
According to the Go official Release Policy, Each major Go release is supported until there are two newer major releases.
So, upgrading golang would be a better way
Yeah, this library makes pretty heavy use of the new generics added to the sync/atomic
library in go1.19. It wouldn't be impossible to remove them to support go 1.18, but I find they make the code much more readable and more maintainable.
Given that go 1.18 is out of the support window by the go team, I do not plan to update the library to work with go 1.18.
希望能兼容 go 1.18版本