service

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserService

type UserService struct {
	// contains filtered or unexported fields
}

func NewUserService

func NewUserService(rep domain.UserRepo) *UserService

ユーザードメインサービス

func (*UserService) ExistByEmail

func (us *UserService) ExistByEmail(ctx context.Context, db *repository.Queryer, email string) (bool, error)

emailでユーザ検索

@params db dbインスタンス

@returns isExist true 存在, false 存在しない

Jump to

Keyboard shortcuts

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