Avatar A personal blog about technical things I find useful. Also, random ramblings and rants...

Webserver part-5

Working with golang webserver.

image

We will be using Gorilla-mux to avoid writing a lot of boilerplate. First we refactor, we replace ServeMux

/handlers/products.go

Implementing Middleware functions

type MiddlewareFunc func(http.Handler) http.Handler

all tags