Skip to content

Commit

Permalink
Try pointer for Port
Browse files Browse the repository at this point in the history
  • Loading branch information
timvaillancourt committed Jan 17, 2023
1 parent e7ae420 commit fc9cbb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/mysql/server_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit fc9cbb1

Please sign in to comment.