func (o *Orgs) Get(ctx context.Context, orgID *identity.ID) (*envelope.Unsigned, error) {
	req, err := o.client.NewRequest("GET", "/orgs/"+orgID.String(), nil, nil)
	if err != nil {
		log.Printf("Error building GET /orgs api request: %s", err)
		return nil, err
	}

	org := envelope.Unsigned{}
	_, err = o.client.Do(ctx, req, &org)
	if err != nil {
		log.Printf("Error performing api request: %s", err)
		return nil, err
	}

	return &org, nil
}
// Get returns the organization with the given ID.
Get returns the organization with the given ID.
// Get returns the organization with the given ID .
func (o *Orgs) Get(ctx context.Context, orgID *identity.ID) (*envelope.Unsigned, error) {
	req, err := o.client.NewRequest("GET", "/orgs/"+orgID.String(), nil, nil)
	if err != nil {
		log.Printf("Error building GET /orgs api request: %s", err)
		return nil, err
	}
	org := envelope.Unsigned{}
	_, err = o.client.Do(ctx, req, &org)
	if err != nil {
		log.Printf("Error performing api request: %s", err)
		return nil, err
	}
	return &org, nil
}
func ( o * Orgs ) Get ( ctx context . Context , orgID * identity . ID ) ( * envelope . Unsigned , error ) { req , err := o . client . NewRequest ( " " , " " + orgID . String ( ) , nil , nil ) if err != nil { log . Printf ( " " , err ) return nil , err } org := envelope . Unsigned { } _ , err = o . client . Do ( ctx , req , & org ) if err != nil { log . Printf ( " " , err ) return nil , err } return & org , nil }
Get returns the organization with the given ID.
Get returns the organization with the given ID .