new helper for adding tickets

This commit is contained in:
2025-03-26 09:41:39 +00:00
parent eae4561e1f
commit 8dc4f61089

14
helpers/parse.go Normal file
View File

@@ -0,0 +1,14 @@
package helpers
import "strconv"
func ParseIntSlice(input []string) []int {
var out []int
for _, s := range input {
n, err := strconv.Atoi(s)
if err == nil {
out = append(out, n)
}
}
return out
}