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

Method FindByPhone

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

Source from the content-addressed store, hash-verified

19 CreateUser(ctx context.Context, u domain.User) error
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

Callers 1

FindByPhoneMethod · 0.65

Implementers 1

userRepositoryinternal/repository/user.go

Calls

no outgoing calls

Tested by

no test coverage detected