(str string)
| 61 | } |
| 62 | |
| 63 | func String2Int(str string) int { |
| 64 | num, err := strconv.Atoi(str) |
| 65 | if err != nil { |
| 66 | return 0 |
| 67 | } |
| 68 | return num |
| 69 | } |
| 70 | |
| 71 | func StringsContains(strs []string, str string) bool { |
| 72 | for _, s := range strs { |
no outgoing calls
no test coverage detected