code: func New(host, prefix, datacenter, token string) (*Store, error) {
  	if !strings.HasSuffix(prefix, "/") {
  		prefix += "/"
  	}
  	if strings.HasPrefix(prefix, "/") {
  		prefix = strings.TrimPrefix(prefix, "/")
  	}
  	client, err := api.NewClient(&api.Config{
  		Address:    host,
  		Datacenter: datacenter,
  		Token:      token,
  	})
  	if err != nil {
  		return nil, err
  	}
  	return &Store{
  		api:    client,
  		prefix: prefix,
  	}, nil
  }
docs: // New creates a new consul store