package
0.0.0-20220505190214-95408d33a0d2
Repository: https://github.com/pint1022/go-common.git
Documentation: pkg.go.dev

# Functions

MarshalBody takes an interface to Marshal as JSON and returns it, it also handles returning of an error state.
NewRouter creates a new MUX router to operate with.
UnmarshalBody Accepts an io.ReadCloser (usually a HTTP request body) and an interface to unmarshal the request into.

# Structs

Route structure defines the standard interface for API interaction.

# Type aliases

Routes are a collection of Route structures.