Documentation ¶
Overview ¶
Package niceurl provides nice url feature for dm framework
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateUrl ¶
func GenerateUrl(content contenttype.ContentTyper, root contenttype.ContentTyper, prefix string) string
func ViewContentMatcher ¶
func ViewContentMatcher(r *http.Request, rm *mux.RouteMatch) bool
Matches pattern *-1231 and set mux Vars["id"] as 1231 if matches
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.