Simple REST API built w/ mux

A RESTful API developed in Golang via the mux framework; the premise of the API is a simple terminal blog with the posts stored in a composite literal storing structs (Posts) that can be accessed via the GET/POST/PUT/PATCH/DELETE methods.

This mini project is for personal reference intended to serve as an introduction to mux. The natural way to progress is onto a project that incorporates a connection to a DB instance.

Resources

Mux framework repository https://github.com/gorilla/mux

What is a composite literal? https://medium.com/@fishnux/golang-what-the-heck-is-a-composite-literal-6dd194480a75

not applied but for reference, maps https://blog.golang.org/maps