package
module
Version:
v0.0.0-...-8336cee
Opens a new window with list of versions in this module.
Published: Feb 10, 2021
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
pathparse
Rails-style route parsing for Go.
Installation
go get -u github.com/bentranter/pathparse
Usage
Don't use this yet – the API is terrible. This is an extraction from an old framework that needs updating, which I may or may not ever get to.
Documentation
¶
Routes returns a human readable string containing all routes.
A Route is a Rails-style definition of a route.
ParseRoute generates the Rails-style route prefix from an HTTP verb and a
URL path.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.