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

Method FindByUsername

internal/repository/user.go:22–22  ·  view source on GitHub ↗
(ctx context.Context, username string)

Source from the content-addressed store, hash-verified

20 FindByID(ctx context.Context, id int64) (domain.User, error)
21 FindByPhone(ctx context.Context, phone string) (domain.User, error)
22 FindByUsername(ctx context.Context, username string) (domain.User, error)
23 ChangePassword(ctx context.Context, username string, newPassword string) error
24 DeleteUser(ctx context.Context, username string, uid int64) error
25 UpdateProfile(ctx context.Context, profile domain.Profile) error

Callers 2

ChangePasswordMethod · 0.65
FindByUsernameMethod · 0.65

Implementers 1

userRepositoryinternal/repository/user.go

Calls

no outgoing calls

Tested by

no test coverage detected