├── .gitignore ├── LICENSE ├── README.md ├── part1 ├── .gitignore └── main.go ├── part2 ├── .gitignore └── main.go ├── part3 ├── .gitignore ├── handlers.go ├── handlers_test.go ├── main.go ├── models.go └── responses.go └── part4 ├── .gitignore ├── handlers.go ├── handlers_test.go ├── logger.go ├── main.go ├── models.go ├── responses.go ├── router.go └── routes.go /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gsingharoy/httprouter-tutorial/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gsingharoy/httprouter-tutorial/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gsingharoy/httprouter-tutorial/HEAD/README.md -------------------------------------------------------------------------------- /part1/.gitignore: -------------------------------------------------------------------------------- 1 | part1 2 | -------------------------------------------------------------------------------- /part1/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gsingharoy/httprouter-tutorial/HEAD/part1/main.go -------------------------------------------------------------------------------- /part2/.gitignore: -------------------------------------------------------------------------------- 1 | part2 2 | -------------------------------------------------------------------------------- /part2/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gsingharoy/httprouter-tutorial/HEAD/part2/main.go -------------------------------------------------------------------------------- /part3/.gitignore: -------------------------------------------------------------------------------- 1 | part3 2 | -------------------------------------------------------------------------------- /part3/handlers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gsingharoy/httprouter-tutorial/HEAD/part3/handlers.go -------------------------------------------------------------------------------- /part3/handlers_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gsingharoy/httprouter-tutorial/HEAD/part3/handlers_test.go -------------------------------------------------------------------------------- /part3/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gsingharoy/httprouter-tutorial/HEAD/part3/main.go -------------------------------------------------------------------------------- /part3/models.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gsingharoy/httprouter-tutorial/HEAD/part3/models.go -------------------------------------------------------------------------------- /part3/responses.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gsingharoy/httprouter-tutorial/HEAD/part3/responses.go -------------------------------------------------------------------------------- /part4/.gitignore: -------------------------------------------------------------------------------- 1 | part4 2 | -------------------------------------------------------------------------------- /part4/handlers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gsingharoy/httprouter-tutorial/HEAD/part4/handlers.go -------------------------------------------------------------------------------- /part4/handlers_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gsingharoy/httprouter-tutorial/HEAD/part4/handlers_test.go -------------------------------------------------------------------------------- /part4/logger.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gsingharoy/httprouter-tutorial/HEAD/part4/logger.go -------------------------------------------------------------------------------- /part4/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gsingharoy/httprouter-tutorial/HEAD/part4/main.go -------------------------------------------------------------------------------- /part4/models.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gsingharoy/httprouter-tutorial/HEAD/part4/models.go -------------------------------------------------------------------------------- /part4/responses.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gsingharoy/httprouter-tutorial/HEAD/part4/responses.go -------------------------------------------------------------------------------- /part4/router.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gsingharoy/httprouter-tutorial/HEAD/part4/router.go -------------------------------------------------------------------------------- /part4/routes.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gsingharoy/httprouter-tutorial/HEAD/part4/routes.go --------------------------------------------------------------------------------