lor:#b84">&#34;fmt&#34;</span>
	<span style="color:#b84">&#34;log&#34;</span>
	<span style="color:#b84">&#34;net/http&#34;</span>
)

<span style="font-weight:bold">func</span> logging(f http.HandlerFunc) http.HandlerFunc {
	<span style="font-weight:bold">return</span> <span style="font-weight:bold">func</span>(w http.ResponseWriter, r <span style="font-weight:bold">*</span>http.Request) {
		log.Println(r.URL.Path)
		f(w, r)
	}
}

<span style="font-weight:bold">func</span> foo(w http.ResponseWriter, r <span 