Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller holds DB
func NewController ¶
func NewController(repo user.Repository) *Controller
NewController constructs a controller
func (*Controller) ShowUserHandler ¶
func (c *Controller) ShowUserHandler(w http.ResponseWriter, r *http.Request)
ShowUserHandler get one user
Click to show internal directories.
Click to hide internal directories.