issues
search
RedisGraph
/
redisgraph-go
A Golang client for redisgraph
https://redisgraph.io
BSD 3-Clause "New" or "Revised" License
132
stars
38
forks
source link
Build strings with append, improve tests
#7
Closed
epswartz
closed
5 years ago
epswartz
commented
5 years ago
Instead of using
+=
, append strings into slice then merge them with
strings.Join
- will make it build longer query strings faster
Added fail statements to tests to make it clear when something is wrong
Added error logging to tests so that if an error comes back from the client while running the tests, that error is printed
swilly22
commented
5 years ago
Thank you @epswartz !
+=
, append strings into slice then merge them withstrings.Join
- will make it build longer query strings faster