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

Method UpdateProfileAdmin

internal/repository/user.go:190–192  ·  view source on GitHub ↗

UpdateProfileAdmin 更新用户资料(管理员)

(ctx context.Context, profile domain.Profile)

Source from the content-addressed store, hash-verified

188
189// UpdateProfileAdmin 更新用户资料(管理员)
190func (ur *userRepository) UpdateProfileAdmin(ctx context.Context, profile domain.Profile) error {
191 return ur.dao.UpdateProfileAdmin(ctx, profile)
192}
193
194// fromDomainUser 将领域层对象转为dao层对象
195func fromDomainUser(u domain.User) dao.User {

Callers

nothing calls this directly

Calls 1

UpdateProfileAdminMethod · 0.65

Tested by

no test coverage detected