Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nicpottier authored Feb 12, 2019
1 parent d1f4933 commit 2984376
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# null int and string values

This module provides (yet another) alternative in dealing with integers and strings which may be null in your JSON or
database. There are various different approaches to this, namely the built in (golang SQL types)[https://golang.org/pkg/database/sql/#NullInt64]
and the (guregu null module)[https://github.com/guregu/null] which adds in JSON support. These are fine approaches but
database. There are various different approaches to this, namely the built in [golang SQL types](https://golang.org/pkg/database/sql/#NullInt64)
and the [guregu null module](https://github.com/guregu/null) which adds in JSON support. These are fine approaches but
both suffer from you having to deal with a struct type for your ids instead of a more natural int64 or string. That is fine
in some cases but I prefer to use more primitive types as assignment is more straightforward, simple equality works, etc.

Expand Down

0 comments on commit 2984376

Please sign in to comment.