Documentation ¶ Index ¶ type Handler func (handler *Handler) Handle(query *Query) (*Response, error) type Query func RandomQuery() *Query type Read func (read *Read) Run(id *user.Id) (*user.User, error) type Response Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Handler ¶ type Handler struct { usecase.Read } func (*Handler) Handle ¶ func (handler *Handler) Handle(query *Query) (*Response, error) type Query ¶ type Query struct { Id string } func RandomQuery ¶ func RandomQuery() *Query type Read ¶ type Read struct { repository.Repository } func (*Read) Run ¶ func (read *Read) Run(id *user.Id) (*user.User, error) type Response ¶ type Response struct { Id, Email, Username, Password string Verified bool } Source Files ¶ View all Source files query.go query.handler.go query.mother.go read.go response.go Click to show internal directories. Click to hide internal directories.