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

Method FindByID

internal/repository/user.go:20–20  ·  view source on GitHub ↗
(ctx context.Context, id int64)

Source from the content-addressed store, hash-verified

18type UserRepository interface {
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

Callers 1

FindByIDMethod · 0.65

Implementers 1

userRepositoryinternal/repository/user.go

Calls

no outgoing calls

Tested by

no test coverage detected