func ByNames(p ClientGenerator, names []string, cfg *Config) ([]Source, error) {
	sources := []Source{}
	for _, name := range names {
		source, err := BuildWithConfig(name, p, cfg)
		if err != nil {
			return nil, err
		}
		sources = append(sources, source)
	}

	return sources, nil
}
func ByNames(p ClientGenerator, names []string, cfg *Config) ([]Source, error) {
	sources := []Source{}
	for _, name := range names {
		source, err := BuildWithConfig(name, p, cfg)
		if err != nil {
			return nil, err
		}
		sources = append(sources, source)
	}

	return sources, nil
}
func ByNames ( p ClientGenerator , names [ ] string , cfg * Config ) ( [ ] Source , error ) { sources := [ ] Source { } for _ , name := range names { source , err := BuildWithConfig ( name , p , cfg ) if err != nil { return nil , err } sources = append ( sources , source ) } return sources , nil }
// ByNames returns multiple Sources given multiple names.
ByNames returns multiple Sources given multiple names .