worryg0d commented on code in PR #1929:
URL: 
https://github.com/apache/cassandra-gocql-driver/pull/1929#discussion_r2845261789


##########
helpers.go:
##########
@@ -267,3 +267,29 @@ func ringString(hosts []*HostInfo) string {
        }
        return buf.String()
 }
+
+// stringsSlicesEqual compares two slices of strings. It doesn't ignore case 
and order.
+// It returns false if:
+// - slices are not the same length
+// - one slice is nil and the other is not
+// - corresponding elements are not equal
+func stringsSlicesEqual(a, b []string) bool {

Review Comment:
   Don't like implementing such things, but unfortunately, we can't use 
`slices` std pkg since it was introduced in Go 1.20



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to