lint: unused contextkey, leftover from rewrite middleware integration

This commit is contained in:
Umputun
2018-07-01 11:53:43 -05:00
parent 70649b2712
commit 841934f44b
-2
View File
@@ -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 {