MCPcopy Create free account
hub / github.com/cloudspannerecosystem/spanner-cli / equalStringSlice

Function equalStringSlice

decoder_test.go:61–74  ·  view source on GitHub ↗
(a []string, b []string)

Source from the content-addressed store, hash-verified

59}
60
61func equalStringSlice(a []string, b []string) bool {
62 if a == nil || b == nil {
63 return false
64 }
65 if len(a) != len(b) {
66 return false
67 }
68 for i := 0; i < len(a); i++ {
69 if a[i] != b[i] {
70 return false
71 }
72 }
73 return true
74}
75
76type jsonMessage struct {
77 Msg string `json:"msg"`

Callers 1

TestDecodeRowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected