AZAreesh Zafarinareeshzafar.hashnode.dev00(Golang)You've Been Calling It a Handler Wrong All Along1d ago · 2 min read · When routing in go, we attach a normal function to a router and call it a handler, for example : package main func home(w http.ResponseWriter, r *http.Request) { w.Write([]byte("Hello from SnippeJoin discussion
AZAreesh Zafarinareeshzafar.hashnode.dev00How Go's Server Multiplexer Actually Works 2d ago · 3 min read · What is ServeMux in Go? ServeMux is a request router that decides which function should handle an incoming request, it matches the URL of an incoming http request to a set of registered patterns whichJoin discussion