Beispiel #1
0
// DELETE /tasks/:id
func deleteTask(c *girl.Context) girl.View {
	model.DeleteTask(c.GetNumParam("id"))
	return c.RenderText("success")
}
Beispiel #2
0
func Index(c *girl.Context) girl.View {
	return c.RenderText("hello world")
}