github.com/acoshift/pgsql@v0.15.3/int64.go (about)

     1  package pgsql
     2  
     3  import (
     4  	"database/sql"
     5  	"database/sql/driver"
     6  )
     7  
     8  // NullInt64 scans null into zero int64 and convert zero into sql null
     9  func NullInt64(i *int64) interface {
    10  	driver.Valuer
    11  	sql.Scanner
    12  } {
    13  	return Null(i)
    14  }