Skip to content

tysonpaul89/go-gorilla-mux-example

Repository files navigation

go-gorilla-mux-example

A sample REST API to create, read, update and delete book data.

Installation and running

go get github.com/tysonpaul89/go-gorilla-mux-example

cd github.com/tysonpaul89/go-gorilla-mux-example

go run main.go

Using this project you can learn

  • HTTP Routing using gorilla/mux package.
  • Configuration management using viper package.
  • Data storage using scribble package.
  • Middlewares usages.

Routes

To get all books

/books

To get particular book

/book/1b8f928e-79b3-4c14-8803-0a9a520e50d1

About

A sample REST API using gorilla/mux package

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages