MCPcopy Create free account
hub / github.com/GoSimplicity/LinkMe / DeleteRole

Method DeleteRole

internal/service/role.go:22–22  ·  view source on GitHub ↗
(ctx context.Context, id int)

Source from the content-addressed store, hash-verified

20 GetRoleById(ctx context.Context, id int) (*domain.Role, error)
21 UpdateRole(ctx context.Context, role *domain.Role) error
22 DeleteRole(ctx context.Context, id int) error
23 ListRoles(ctx context.Context, page, pageSize int) ([]*domain.Role, int, error)
24 GetUserRole(ctx context.Context, userId int) (*domain.Role, error)
25 GetRole(ctx context.Context, roleId int) (*domain.Role, error)

Callers 2

DeleteRoleMethod · 0.65
DeleteRoleMethod · 0.65

Implementers 3

roleServiceinternal/service/role.go
roleRepositoryinternal/repository/role.go
roleDAOinternal/repository/dao/role.go

Calls

no outgoing calls

Tested by

no test coverage detected