Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Brace ¶
func Brace(path string) *brace
Brace matches path with REST-full resources URI in brace form. e.g., "/foo/v1/bar/v2" will map to "/{foo}/{bar}" form, while the value of "foo" and "bar" are "v1" and "v2", respectively.
func Colon ¶
func Colon(path string) *colon
Colon matches path with REST-full resources URI in perfix colon form. e.g., "/foo/v1/bar/v2" will map to "/:foo/:bar" form, while the value of "foo" and "bar" are "v1" and "v2", respectively.
Types ¶
Click to show internal directories.
Click to hide internal directories.