I am using https://github.com/gocql/gocql. I want to set the read/write consistency of cassandra.
cluster := gocql.NewCluster(hosts...)
cluster.Consistency = gocql.ParseConsistency(consistency)
If the consistency setting is applied as above, is both read/write consistency applied? Or is there a way to apply read and write consistency separately?