Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 454 Bytes

README.md

File metadata and controls

18 lines (12 loc) · 454 Bytes

#Nullable

Very simple Go module to handle nullable fields. Basically, it adds to sql package types the JSON marshal and unmarshal features. It has 100% of coverage and includes also Scan tests to make sure that empty values from database are properly assigned.

How to use

Add module

go get github.com/diegohordi/nullable

Import when needed

import "github.com/diegohordi/nullable"

TODO

  • Fuzzy tests
  • Benchmark tests