Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewUser ¶
func NewUser() pb.UserServiceServer
Types ¶
type UserRepository ¶
type UserRepository interface { List(ctx context.Context) ([]*AggregateRootUser, error) Get(ctx context.Context, id UserID) (*AggregateRootUser, error) Append(ctx context.Context, user *AggregateRootUser) error Remove(ctx context.Context, user *AggregateRootUser) error Update(ctx context.Context, user *AggregateRootUser) error }
func NewUserRepository ¶
func NewUserRepository() UserRepository
Click to show internal directories.
Click to hide internal directories.