(strs []string, str string)
| 69 | } |
| 70 | |
| 71 | func StringsContains(strs []string, str string) bool { |
| 72 | for _, s := range strs { |
| 73 | if s == str { |
| 74 | return true |
| 75 | } |
| 76 | } |
| 77 | return false |
| 78 | } |
| 79 | |
| 80 | // StringToByteSlice []byte only read, panic on append |
| 81 | func StringToByteSlice(s string) []byte { |
no outgoing calls
no test coverage detected