pkg/types/urlsmap.go
func NewURLsMapFromStringMap(m map[string]string, sep string) (URLsMap, error) {
	var err error
	um := URLsMap{}
	for k, v := range m {
		um[k], err = NewURLs(strings.Split(v, sep))
		if err != nil {
			return nil, err
		}
	}
	return um, nil
}
func NewURLsMapFromStringMap(m map[string]string, sep string) (URLsMap, error) {
	var err error
	um := URLsMap{}
	for k, v := range m {
		um[k], err = NewURLs(strings.Split(v, sep))
		if err != nil {
			return nil, err
		}
	}
	return um, nil
}
func NewURLsMapFromStringMap ( m map [ string ] string , sep string ) ( URLsMap , error ) { var err error um := URLsMap { } for k , v := range m { um [ k ] , err = NewURLs ( strings . Split ( v , sep ) ) if err != nil { return nil , err } } return um , nil }
// NewURLsMapFromStringMap takes a map of strings and returns a URLsMap. The
// string values in the map can be multiple values separated by the sep string.
NewURLsMapFromStringMap takes a map of strings and returns a URLsMap . The string values in the map can be multiple values separated by the sep string .