Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrOrgAlreadyExists = fmt.Errorf("organization already exists")
Functions ¶
func CreateDefaultOrganization ¶
func CreateDefaultOrganization() (pgrest.OrgContext, error)
CreateDefaultOrganization list all organizations and create a default if there is not any. Otherwise returns the ID of the first organization. In case there are more than one organization, returns an error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.