Made a library? Written a blog post? Found a useful tutorial? Share it with the Go community here or just enjoy what everyone else has found!
This is the next installment of our series by Ayooluwa Isaiah that explains features in Go so developers can compare them to Ruby or whatever other language.
In the previous article in this series, we had an extensive discussion on the Go
net/http
package and how it can be used for production-ready web applications.
We focused mostly on the routing aspect and other quirks and features of the
http.ServeMux
type.
This article will close out the discussion on ServeMux
by demonstrating how
middleware functions can be implemented with the default router and introducing
other standard library packages that are sure to come in handy when developing
web services with Go.
https://www.honeybadger.io/blog/ruby-to-go-4/