(str string)
| 82 | } |
| 83 | |
| 84 | func String2Int(str string) int { |
| 85 | num, err := strconv.Atoi(str) |
| 86 | if err != nil { |
| 87 | return 0 |
| 88 | } |
| 89 | return num |
| 90 | } |
| 91 | |
| 92 | func StringsContains(strs []string, str string) bool { |
| 93 | for _, s := range strs { |
no outgoing calls
no test coverage detected