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

Method GetUserRole

internal/repository/role.go:17–17  ·  view source on GitHub ↗
(ctx context.Context, userId int)

Source from the content-addressed store, hash-verified

15 DeleteRole(ctx context.Context, id int) error
16 ListRoles(ctx context.Context, page, pageSize int) ([]*domain.Role, int, error)
17 GetUserRole(ctx context.Context, userId int) (*domain.Role, error)
18 GetRole(ctx context.Context, roleId int) (*domain.Role, error)
19}
20

Callers 1

GetUserRoleMethod · 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