Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodePath ¶ added in v0.1.0
DecodePath returns the module path of the given safe encoding. It fails if the encoding is invalid or encodes an invalid path.
func EncodePath ¶ added in v0.1.0
EncodePath is ripped from cmd/go -- it replaces upper case letters with bang+lowercase.
func GetVersion ¶ added in v0.1.0
GetVersion gets the version from the path of a ?go-get=1 request
Types ¶
type AllPathParams ¶
AllPathParams holds the module and version in the path of a ?go-get=1 request
func GetAllParams ¶
func GetAllParams(c buffalo.Context) (*AllPathParams, error)
GetAllParams fetches the path patams from c and returns them
Click to show internal directories.
Click to hide internal directories.