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

Method DeleteUser

internal/service/user.go:26–26  ·  view source on GitHub ↗
(ctx context.Context, username string, password string, uid int64)

Source from the content-addressed store, hash-verified

24 LoginBySMS(ctx context.Context, number string, code string) (domain.User, error)
25 ChangePassword(ctx context.Context, username string, password string, newPassword string, confirmPassword string) error
26 DeleteUser(ctx context.Context, username string, password string, uid int64) error
27 UpdateProfile(ctx context.Context, profile domain.Profile) error
28 GetProfileByUserID(ctx context.Context, UserID int64) (domain.Profile, error)
29 ListUser(ctx context.Context, pagination domain.Pagination) ([]domain.UserWithProfile, error)

Callers 2

DeleteUserMethod · 0.65
WriteOffMethod · 0.65

Implementers 3

userServiceinternal/service/user.go
MockUserServiceinternal/service/mocks/user.mock.go
MockUserServiceMockRecorderinternal/service/mocks/user.mock.go

Calls

no outgoing calls

Tested by

no test coverage detected