Documentation
¶
Index ¶
- func Delete(db gorpmapper.SqlExecutorWithTx, organizationID string) error
- func Insert(ctx context.Context, db gorpmapper.SqlExecutorWithTx, orga *sdk.Organization) error
- func LoadAllOrganizations(ctx context.Context, db gorp.SqlExecutor) ([]sdk.Organization, error)
- func LoadOrganizationByID(ctx context.Context, db gorp.SqlExecutor, ID string) (*sdk.Organization, error)
- func LoadOrganizationByName(ctx context.Context, db gorp.SqlExecutor, name string) (*sdk.Organization, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Delete ¶
func Delete(db gorpmapper.SqlExecutorWithTx, organizationID string) error
func Insert ¶
func Insert(ctx context.Context, db gorpmapper.SqlExecutorWithTx, orga *sdk.Organization) error
func LoadAllOrganizations ¶
func LoadAllOrganizations(ctx context.Context, db gorp.SqlExecutor) ([]sdk.Organization, error)
func LoadOrganizationByID ¶
func LoadOrganizationByID(ctx context.Context, db gorp.SqlExecutor, ID string) (*sdk.Organization, error)
func LoadOrganizationByName ¶
func LoadOrganizationByName(ctx context.Context, db gorp.SqlExecutor, name string) (*sdk.Organization, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.