package main import ( "unicode" ) func isInt(s string) bool { for _, c := range s { if !unicode.IsDigit(c) { return false } } return true }