Documentation ¶ Index ¶ type Command func RandomCommand() *Command type Handler func (handler *Handler) Handle(command *Command) error type Update func (use *Update) Run(account *user.User, updated *user.Password) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Command ¶ type Command struct { Id, Email, Username, Password, UpdatedPassword string } func RandomCommand ¶ func RandomCommand() *Command type Handler ¶ type Handler struct { usecase.Update } func (*Handler) Handle ¶ func (handler *Handler) Handle(command *Command) error type Update ¶ type Update struct { repository.Repository hashing.Hashing } func (*Update) Run ¶ func (use *Update) Run(account *user.User, updated *user.Password) error Source Files ¶ View all Source files command.go command.handler.go command.mother.go update.go Click to show internal directories. Click to hide internal directories.