summaryrefslogtreecommitdiff
path: root/handler.go
diff options
context:
space:
mode:
Diffstat (limited to 'handler.go')
-rw-r--r--handler.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/handler.go b/handler.go
index c7f9b66..6753bea 100644
--- a/handler.go
+++ b/handler.go
@@ -5,7 +5,7 @@ import (
"encoding/json"
"net/http"
- "go.neonxp.ru/mux/ctxlib"
+ "neonxp.ru/go/mux/ctxlib"
)
// Handler API handler and returns standard http.HandlerFunc function
@@ -56,7 +56,6 @@ func Handler[RQ any, RS any](handler func(ctx context.Context, request *RQ) (RS,
w.WriteHeader(statusCode)
w.Header().Set("Content-Type", contentType)
w.Write(body)
-
}
}