Skip to content

Commit 58eab92

Browse files
committed
Merge branch 'master' of github.com:nyaruka/null
2 parents 7a3aecd + 2984376 commit 58eab92

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# null int and string values
22

33
This module provides (yet another) alternative in dealing with integers and strings which may be null in your JSON or
4-
database. There are various different approaches to this, namely the built in [https://golang.org/pkg/database/sql/#NullInt64](golang SQL types)
5-
and the [https://github.com/guregu/null](guregu null module) which adds in JSON support. These are fine approaches but
4+
database. There are various different approaches to this, namely the built in [golang SQL types](https://golang.org/pkg/database/sql/#NullInt64)
5+
and the [guregu null module](https://github.com/guregu/null) which adds in JSON support. These are fine approaches but
66
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
77
in some cases but I prefer to use more primitive types as assignment is more straightforward, simple equality works, etc.
88

0 commit comments

Comments
 (0)