RediSearch / redisearch-go

Go client for RediSearch
https://redisearch.io
BSD 3-Clause "New" or "Revised" License
293 stars 65 forks source link

Enable Go Modules, Fix tests for 2.0+ version #78

Closed filipecosta90 closed 4 years ago

filipecosta90 commented 4 years ago

fixes #77 This PR enable Go Modules and it's backwards compatible with old go versions.

codecov[bot] commented 4 years ago

Codecov Report

Merging #78 into master will increase coverage by 0.99%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #78      +/-   ##
==========================================
+ Coverage   75.14%   76.14%   +0.99%     
==========================================
  Files          12       12              
  Lines        1203     1203              
==========================================
+ Hits          904      916      +12     
+ Misses        236      227       -9     
+ Partials       63       60       -3     
Impacted Files Coverage Δ
redisearch/client.go 80.15% <ø> (ø)
redisearch/query.go 85.40% <100.00%> (+6.48%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 236fe93...47a62e9. Read the comment docs.