package
0.0.0-20201004112201-9ffdc969a1d9
Repository: https://github.com/kiiier/learninggolang.git
Documentation: pkg.go.dev
# Functions
MapHandler will return an http.HandlerFunc (which also implements http.Handler) that will attempt to map any paths (keys in the map) to their corresponding URL (values that each key in the map points to, in string format).
YAMLHandler will parse the provided YAML and then return an http.HandlerFunc (which also implements http.Handler) that will attempt to map any paths to their corresponding URL.