Documentation ¶
Index ¶
- func Delete(db gorpmapper.SqlExecutorWithTx, regionID string) error
- func Insert(ctx context.Context, db gorpmapper.SqlExecutorWithTx, region *sdk.Region) error
- func LoadAllRegions(ctx context.Context, db gorp.SqlExecutor) ([]sdk.Region, error)
- func LoadRegionByID(ctx context.Context, db gorp.SqlExecutor, ID string) (*sdk.Region, error)
- func LoadRegionByIDs(ctx context.Context, db gorp.SqlExecutor, IDs []string) ([]sdk.Region, error)
- func LoadRegionByName(ctx context.Context, db gorp.SqlExecutor, name string) (*sdk.Region, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Delete ¶
func Delete(db gorpmapper.SqlExecutorWithTx, regionID string) error
func Insert ¶
func Insert(ctx context.Context, db gorpmapper.SqlExecutorWithTx, region *sdk.Region) error
func LoadAllRegions ¶
func LoadRegionByID ¶
func LoadRegionByIDs ¶ added in v0.53.0
func LoadRegionByName ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.