chore: improve readability of lazyInit (#522)

Use sync.Once to make lazyInit more readable.

Co-authored-by: yonbiaoxiao <yonbiaoxiao@tencent.com>
1 file changed
tree: 27cc7edccfab633159989775fb52acdde2853300
  1. .github/
  2. .travis.yml
  3. LICENSE
  4. README.markdown
  5. go.mod
  6. go.sum
  7. redis/
  8. redisx/