code: func (o *OrgsClient) GetByName(ctx context.Context, name string) (*envelope.Org, error) {
  	v := &url.Values{}
  	if name == "" {
  		return nil, errors.New("invalid org name")
  	}
  	v.Set("name", name)
  
  	var orgs []envelope.Org
  	err := o.client.RoundTrip(ctx, "GET", "/orgs", v, nil, &orgs)
  	if err != nil {
  		return nil, err
  	}
  	if len(orgs) < 1 {
  		return nil, nil
  	}
  
  	return &orgs[0], nil
  }
docs: // GetByName retrieves an org by its name