(a []string, b []string)
| 59 | } |
| 60 | |
| 61 | func 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 | |
| 76 | type jsonMessage struct { |
| 77 | Msg string `json:"msg"` |