I did this:
https://github.com/pitakill/go_api/blob/devel/person/person.go#L51
The important part is that the struct Person, use a pointer string in the
fields that maybe/maybe not be null from the Database
On Wednesday, November 16, 2016 at 1:00:39 PM UTC-6, m...@ualberta.ca wrote:
>
> Has any
Has anyone found a better solution to this besides using the NullString
struct? personally not a fan of that as it requires me to separately handle
returned boolean values
On Wednesday, March 25, 2015 at 12:53:40 PM UTC-4, Chris Kastorff wrote:
>
> I use *string with database/sql when I need a n