From 10d174f6264d44e9367776f7ad656513a9c8a567 Mon Sep 17 00:00:00 2001 From: DarkCat09 Date: Tue, 2 Jul 2024 19:08:15 +0400 Subject: [PATCH] fix: format `port` as %s, not %d (got []int in result) --- server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.go b/server.go index 37b917f..0741aed 100644 --- a/server.go +++ b/server.go @@ -59,7 +59,7 @@ func handler(ctx *fasthttp.RequestCtx) { row := stmt.QueryRow( ctx.Method(), fmt.Sprintf( - "%s://%s:%d%s", + "%s://%s:%s%s", scheme, host, port,