pgorgs

package
v0.0.0-...-5ba556e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2024 License: MIT Imports: 9 Imported by: 0

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.

func New

func New() *org

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL