Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GroupService ¶
type GroupService interface { Index(ctx context.Context, u *domain.User) ([]*domain.Group, error) Show(ctx context.Context, groupID string) (*domain.Group, error) Create(ctx context.Context, u *domain.User, g *domain.Group) (*domain.Group, error) Update(ctx context.Context, g *domain.Group) error InviteUsers(ctx context.Context, g *domain.Group) error Join(ctx context.Context, g *domain.Group) error IsContainInUserIDs(ctx context.Context, userID string, g *domain.Group) bool IsContainInInvitedEmails(ctx context.Context, email string, g *domain.Group) bool }
GroupService - GroupServiceインターフェース
func NewGroupService ¶
func NewGroupService( gdv validation.GroupDomainValidation, gr repository.GroupRepository, ur repository.UserRepository, br repository.BoardRepository, ) GroupService
NewGroupService - GroupServiceの生成
type UserService ¶
UserService - UserServiceインターフェース
func NewUserService ¶
func NewUserService(ur repository.UserRepository) UserService
NewUserService - UserServiceの生成
Click to show internal directories.
Click to hide internal directories.