Help us shape the future of Go! Take the 2026 Go Developer Survey

develop

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2026 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MigrateUseCase

type MigrateUseCase interface {
	Up(ctx context.Context) error
	Down(ctx context.Context) error
}

func NewMigrateUseCase

func NewMigrateUseCase(
	db *sql.DB,
) MigrateUseCase

type ResourceUseCase

type ResourceUseCase interface {
	ImportResourcesAndPermissions(ctx context.Context) error
}

func NewResourceUseCase

func NewResourceUseCase(
	resourceSvc system.ResourceService,
) ResourceUseCase

type SeedUseCase

type SeedUseCase interface {
	Seed(ctx context.Context) error
}

func NewSeedUseCase

func NewSeedUseCase(
	trans trans.Repository,
	userRepo user.Repository,
	userGroupRepo usergroup.Repository,
	roleRepo role.Repository,
	permissionRepo permission.Repository,
	rolePermissionRepo rolepermission.Repository,
	resourceRepo resource.Repository,
	groupRepo group.Repository,
	groupRoleRepo grouprole.Repository,
) SeedUseCase

Jump to

Keyboard shortcuts

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