Skip to content

Instantly share code, notes, and snippets.

@lanewebchina
lanewebchina / nullHandle.go
Created February 1, 2023 03:34 — forked from rsudip90/nullHandle.go
How I handled the null possible value in a sql database row in golang?
package main
import (
"database/sql"
"encoding/json"
"fmt"
"reflect"
"time"
"github.com/go-sql-driver/mysql"