diff options
Diffstat (limited to 'handler.go')
-rw-r--r-- | handler.go | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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) - } } |