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

Method GetRole

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

Source from the content-addressed store, hash-verified

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)
26}
27
28type roleService struct {

Callers 2

GetRoleMethod · 0.65
GetRolesMethod · 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