package
0.0.0-20200628105730-7179885c4902
Repository: https://github.com/exlinc/golang-utils.git
Documentation: pkg.go.dev
# README
Utils for Gorilla MUX path variables
A suite of standardized functions for getting IDs (and other data) from path variables in the Gorilla MUX router framework
# Functions
GetIntegerVar tries to get the var with the key and parse it into a base 10 int64.
GetStringVar tries to get the var with the key.
GetUnsignedInteger64Var tries to get the var with the key and parse it into a base 10 uint64.
GetUnsignedIntegerVar tries to get the var with the key and parse it into a base 10 uint.
GetURLBase64EncodedStringVar tries to get the var with the key and then parse it into a string using the b64 URL decoder.