MCPcopy Create free account
hub / github.com/ajitpratap0/GoSQLX / stringSlicesEqual

Function stringSlicesEqual

pkg/gosqlx/testing/testing.go:429–439  ·  view source on GitHub ↗

stringSlicesEqual compares two string slices for equality

(a, b []string)

Source from the content-addressed store, hash-verified

427
428// stringSlicesEqual compares two string slices for equality
429func stringSlicesEqual(a, b []string) bool {
430 if len(a) != len(b) {
431 return false
432 }
433 for i := range a {
434 if a[i] != b[i] {
435 return false
436 }
437 }
438 return true
439}

Callers 3

TestStringSlicesEqualFunction · 0.70
AssertTablesFunction · 0.70
AssertColumnsFunction · 0.70

Calls

no outgoing calls

Tested by 1

TestStringSlicesEqualFunction · 0.56