domain

package
v0.0.0-...-c9664ae Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BannerRepoInterface

type BannerRepoInterface interface {
	Find(ctx context.Context) ([]*entity.Banner, error)
}
type MenuRepoInterface interface {
	Find(ctx context.Context, req *model.MenuRequest) ([]*entity.Menu, error)
}

type RoleRepoInterface

type RoleRepoInterface interface {
	GetRoleByCode(ctx context.Context, code string) (*entity.Role, error)
}

type UserRepoInterface

type UserRepoInterface interface {
	Begin(ctx context.Context) (*bun.Tx, error)
	InsertUser(ctx context.Context, tx *bun.Tx, user *entity.User) error
	GetUserByEmail(ctx context.Context, email string) (*entity.User, error)
}

Directories

Path Synopsis
controller
http/v1
Package v1 implements routing paths.
Package v1 implements routing paths.

Jump to

Keyboard shortcuts

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