dariubs/null

null is a Go library that provides nullable types for SQL values.

View on GitHub ↗Jump to charts ↓

dariubs/null is written in Go and was last pushed on May 27, 2018. Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 27 minutes ago
Added to GitGenius on September 26th, 2026
Created on July 13th, 2017
Open Issues & Pull Requests: 0 (+0)
GitHub issues: Enabled
Number of forks: 0
Total Stargazers: 0 (+0)
Total Subscribers: 1 (+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 SQL values.

The library solves the problem of handling NULL values from SQL databases in Go. Standard Go types cannot represent SQL nullability directly—a string is always a string, never null. null wraps primitive types to track both a value and whether that value is null, allowing developers to distinguish between a zero value and an actual NULL from the database. The approach is straightforward: the library exports nullable versions of common types used in SQL contexts.

The tool suits projects that need to work with SQL databases where nullable columns are common. It is most useful when you need to preserve the distinction between a column containing NULL and a column containing a zero or empty value. Developers working with ORMs or direct SQL queries in Go will find this particularly relevant. The library provides nullable variants for Bool, String, Float64, and Int64, covering the most frequently encountered SQL types.

The project shows minimal development activity. There are no recent commits, and the codebase appears to be in a stable, maintenance-only state with no active feature development or bug fixes being pursued.