niceurl

package
v0.1.0-beta.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 9, 2021 License: MIT Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL