I think there's a reason sql.NullTime is not in the std library. But I'm 
not sure what the reason actually is.
Can someone explain to me, please?

Many thanks,

Michal

Dne sobota 22. října 2016 18:35:15 UTC+1 Dima Kurguzov napsal(a):
>
> sql package supports most language primitives (bool, int64, float64, 
> string).
> I think time.Time must be supported too with sql.NullTime type - it's a 
> nonsense to have databases with timestamps (e.g. standard created_at, 
> updated_at columns).
>
> You may find NullTime example code in the playground 
> <https://play.golang.org/p/2VCKi03B38>.
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to