package util import "regexp" func IsMobile(mobile string) bool { return regexp.MustCompile("^((\\+86)|(86))?\\d{11,11}$").MatchString(mobile) }