From fc9cbb17cc6b1c4de276d935ac83d0e7fd7dc533 Mon Sep 17 00:00:00 2001 From: Tim Vaillancourt Date: Tue, 17 Jan 2023 21:10:32 +0100 Subject: [PATCH] Try pointer for Port --- go/mysql/server_info.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/mysql/server_info.go b/go/mysql/server_info.go index a7e21c4..1a0db30 100644 --- a/go/mysql/server_info.go +++ b/go/mysql/server_info.go @@ -8,7 +8,7 @@ package mysql import gosql "database/sql" // Port represents a MySQL server port. -type Port gosql.NullInt64 +type Port *gosql.NullInt64 // NewPort creates a new Port. func NewPort(port int64) Port {