package geoloc import "strings" func GetCountry(input string) *Country { if c, exists := countries[strings.ToUpper(input)]; exists { return &c } return nil }