diff options
author | Alexander Neonxp Kiryukhin <i@neonxp.ru> | 2024-12-11 01:52:13 +0300 |
---|---|---|
committer | Alexander Neonxp Kiryukhin <i@neonxp.ru> | 2024-12-11 01:52:13 +0300 |
commit | 7e304bcd9ec014c628663b2ca6e9a610cb7a27e2 (patch) | |
tree | 3a1d09fc184131b2eef9b7dccc50dc5d734e55f8 /handler.go | |
parent | a5db15c571e786ed6c7dbd47e515c4ec368020c8 (diff) |
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) - } } |