func CategorysController(w app.ResponseWriter, r *app.Request) { category := models.Category{} categorys := category.All() w.WriteJson(categorys) }