aoc2024/day-03/internal/two/util.go

12 lines
133 B
Go

package two
import "strconv"
func mustConv(s string) int {
n, err := strconv.Atoi(s)
if err != nil {
panic(err)
}
return n
}