// Create instantiates an exporter based on `name`.
Create instantiates an exporter based on `name`.
// Create instantiates an exporter based on ` name ` .
func (p *exporterRegistry) Create(name string) (exporters.Exporter, error) {
	if method, ok := p.exporters[name]; ok {
		return method(), nil
	}
	return nil, fmt.Errorf("couldn't find exporter %s", name)
}
func ( p * exporterRegistry ) Create ( name string ) ( exporters . Exporter , error ) { if method , ok := p . exporters [ name ] ; ok { return method ( ) , nil } return nil , fmt . Errorf ( " " , name ) }
Create instantiates an exporter based on `name`.
Create instantiates an exporter based on ` name ` .