From 7e304bcd9ec014c628663b2ca6e9a610cb7a27e2 Mon Sep 17 00:00:00 2001 From: Alexander Neonxp Kiryukhin Date: Wed, 11 Dec 2024 01:52:13 +0300 Subject: Поправил имя пакета MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- handler.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'handler.go') 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) - } } -- cgit v1.2.3