MCPcopy
hub / github.com/gotify/server / externalOf

Function externalOf

api/user_test.go:441–443  ·  view source on GitHub ↗
(user *model.User)

Source from the content-addressed store, hash-verified

439}
440
441func externalOf(user *model.User) *model.UserExternal {
442 return &model.UserExternal{Name: user.Name, Admin: user.Admin, ID: user.ID}
443}

Callers 3

Test_GetUsersMethod · 0.85
Test_GetCurrentUserMethod · 0.85
Test_GetUserByIDMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…