From 841934f44b305be1fff819a34e8197e8b7ce2351 Mon Sep 17 00:00:00 2001 From: Umputun Date: Sun, 1 Jul 2018 11:53:43 -0500 Subject: [PATCH] lint: unused contextkey, leftover from rewrite middleware integration --- backend/app/rest/api/middleware.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/backend/app/rest/api/middleware.go b/backend/app/rest/api/middleware.go index 59d53eac..2410dc6d 100644 --- a/backend/app/rest/api/middleware.go +++ b/backend/app/rest/api/middleware.go @@ -20,8 +20,6 @@ import ( // JSON is a map alias, just for convenience type JSON map[string]interface{} -type contextKey string - // AppInfo adds custom app-info to the response header func AppInfo(app string, version string) func(http.Handler) http.Handler { f := func(h http.Handler) http.Handler {