package ezcoo import ( "fmt" ) func parseInt(s string) (int, error) { var n int _, err := fmt.Sscanf(s, "%d", &n) return n, err }