// Picture return path image according to large, medium, thumbnail
Picture return path image according to large, medium, thumbnail
// Picture return path image according to large medium thumbnail
func (r *RandomuserScheme) Picture(id int, typeSize string) string {
	picture := &r.Results[id].Picture
	switch typeSize {
	case "large":
		return picture.Large
	case "medium":
		return picture.Medium
	case "thumbnail":
		return picture.Thumbnail
	default:
		return picture.Medium
	}
}
func ( r * RandomuserScheme ) Picture ( id int , typeSize string ) string { picture := & r . Results [ id ] . Picture switch typeSize { case " " : return picture . Large case " " : return picture . Medium case " " : return picture . Thumbnail default : return picture . Medium } }
Picture return path image according to large, medium, thumbnail
Picture return path image according to large medium thumbnail