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.
Types ¶
type AllPathParams ¶
AllPathParams holds the module and version in the path of a ?go-get=1 request
func GetAllParams ¶
func GetAllParams(r *http.Request) (*AllPathParams, error)
GetAllParams fetches the path params from r and returns them
Click to show internal directories.
Click to hide internal directories.