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

12 lines
133 B
Go

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