Ross ROSS = Recommend OSS · open-source software intelligence for agents

guregu/null

reasonable handling of nullable values observed · 2026-08-28

github.com/guregu/null · Go · BSD-2-Clause (permissive) observed · 2026-08-28

Health v2 · maintenance only

27/100

  • Activity 9
  • Release rhythm 8
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 4388
  • days_rel: 546
  • days_push: 546
  • n_releases_24m: 1

Full methodology

Adoption not part of the score

2070 stars · 247 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A Go library providing nullable types for SQL and JSON values, with two packages: null (null and zero are distinct) and zero (null and zero are equivalent). All types implement sql.Scanner, driver.Valuer, and JSON marshalers.

Use cases

  • handle nullable database columns in Go structs
  • marshal nullable SQL values to JSON without pointers
  • scan SQL NULL values into non-pointer struct fields
  • treat empty strings and null as equivalent in JSON APIs
  • omit null fields from JSON with Go 1.24 omitzero

When to choose

  • you need sql.NullXXX alternatives that marshal cleanly to JSON
  • you want to avoid pointer types for optional fields
  • you need both strict null and zero-as-null semantics

When to avoid

  • you prefer pointer-based optionality
  • you need nullable types outside SQL/JSON contexts
  • your project targets Go versions without generics for null.Value

Facets

library · maturity stable

serialization database-driver databases developer-tools backend go nullable-types sql go-library

1 source

Member repositories

RepositoryRoleHealth v2
guregu/nullmain27

For agents

markdown · JSON · MCP: product_card(name="guregu/null")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem