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(userRepo user.Repository, prjRepo project.Repository, repo milestone.Repository) *Controller
NewController constructs a controller
func (*Controller) CreateHandler ¶
func (c *Controller) CreateHandler(w http.ResponseWriter, r *http.Request)
CreateHandler creates milestone
func (*Controller) ShowHandler ¶
func (c *Controller) ShowHandler(w http.ResponseWriter, r *http.Request)
ShowHandler shows milestone
Click to show internal directories.
Click to hide internal directories.