sqlc-dev/null

null is a Go library that provides nullable types for database operations.

View on GitHub ↗Jump to charts ↓

sqlc-dev/null is written in Go and was last pushed on Jun 29, 2023. Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 11 minutes ago
Added to GitGenius on September 25th, 2026
Created on March 16th, 2022
Open Issues & Pull Requests: 0 (+0)
GitHub issues: Enabled
Number of forks: 0
Total Stargazers: 0 (+0)
Total Subscribers: 0 (+0)

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 0
New in 7 days: 0
Closed in 7 days: 0
Avg open age: N/A days
Stale 30+ days: 0
Stale 90+ days: 0

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

Sign in to see which issues are moving.
Sign in

Detailed Description

null is a Go library that provides nullable types for database operations.

The library addresses the challenge of handling NULL values from SQL databases in Go's type system. Go's built-in types cannot represent NULL states, forcing developers to use pointers or custom wrappers. null offers a dedicated solution by providing nullable type implementations that work seamlessly with Go's database/sql package and popular database drivers.

The tool is suited for Go applications that need to map database columns that may contain NULL values to strongly-typed Go structs without resorting to pointers or interface{} types. It has been tested against multiple database drivers including SQLite, PostgreSQL, and MySQL implementations, ensuring compatibility across common database systems. Developers working with code generation tools or those building database abstraction layers will find this particularly useful for maintaining type safety while preserving NULL semantics from the database layer.

The project maintains active engagement with the Go database driver ecosystem, drawing design inspiration from established drivers like pgx and considering integration patterns with the standard library's database/sql package. Development activity shows ongoing refinement of the nullable type implementations and continued testing against multiple database drivers to ensure broad compatibility.