func loggerMiddleware(next http.Handler) http.Handler {
	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
		start := time.Now()

		next.ServeHTTP(w, r)

		log.Printf("[%s]\t%s\t%s", r.Method, r.URL.String(), time.Since(start))
	})
}
// loggerMiddleware Middleware level to log API requests
loggerMiddleware Middleware level to log API requests
// loggerMiddleware Middleware level to log API requests
func loggerMiddleware(next http.Handler) http.Handler {
	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
		start := time.Now()
		next.ServeHTTP(w, r)
		log.Printf("[%s]\t%s\t%s", r.Method, r.URL.String(), time.Since(start))
	})
}
func loggerMiddleware ( next http . Handler ) http . Handler { return http . HandlerFunc ( func ( w http . ResponseWriter , r * http . Request ) { start := time . Now ( ) next . ServeHTTP ( w , r ) log . Printf ( " \t \t " , r . Method , r . URL . String ( ) , time . Since ( start ) ) } ) }
loggerMiddleware Middleware level to log API requests
loggerMiddleware Middleware level to log API requests