Registry / database / guregu-null-v3

guregu-null-v3

JSON →
library3.5.0gogounverified

Package null provides SQL types that distinguish between zero and null values, with JSON and text marshaling support.

go get gopkg.in/guregu/null.v3
INSTALL
IMPORT
SIG · GUREGU-NULL-V3
G
guregu-null-v3
databasegov3.5.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

null
gopkg.in/guregu/null.v3

Use nullable string type

package main import ( "fmt" "gopkg.in/guregu/null.v3" ) func main() { var s null.String s.Scan("hello") fmt.Println(s.String) }
Debug
Known issues
breakingVersion v3 uses gopkg.in path; v4 is available with different import path.
fix
Use gopkg.in/guregu/null.v4 for latest version.
affects: v3
Upgrade
Version history
3.5.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Resources
guregu-null-v3 — go get guregu-null-v3 · libregistry