MCPcopy Create free account
hub / github.com/OpenListTeam/OpenList / GetUserById

Function GetUserById

internal/op/user.go:60–62  ·  view source on GitHub ↗
(id uint)

Source from the content-addressed store, hash-verified

58}
59
60func GetUserById(id uint) (*model.User, error) {
61 return db.GetUserById(id)
62}
63
64func GetUsers(pageIndex, pageSize int) (users []model.User, count int64, err error) {
65 return db.GetUsers(pageIndex, pageSize)

Callers 5

ListPublicKeysFunction · 0.92
UpdateUserFunction · 0.92
GetUserFunction · 0.92
makeJoinedFunction · 0.70
GetSharingByIdFunction · 0.70

Calls 1

GetUserByIdFunction · 0.92

Tested by

no test coverage detected