This question already has an answer here:
I need to initialize gocql with multiple ips, I want to pass the ips from a variable/constant.
How to pass some thing like
gocql.NewCluster(ipvalues)
instead of using
gocql.NewCluster("127.0.0.1", "127.0.0.2")
i want to pass the list of ips through a variable something like an array.
</div>