func NewCategoryForm(r *http.Request) *CategoryForm {
	return &CategoryForm{
		Title:        r.FormValue("title"),
		HideGlobally: r.FormValue("hide_globally"),
	}
}
NewCategoryForm returns a new CategoryForm.
package form  
import (
	"net/http"
)
type CategoryForm struct {
	Title        string
	HideGlobally string
}