3 ms·
Time is a struct, so nil is not a legal value. You would have to store a pointer (var t *time.Time) instead.
by p1mrx 11y ago
Time is a struct, so nil is not a legal value. You would have to store a pointer (var t *time.Time) instead.
- colin_mccabe 11y agoYes, I was suggesting storing a pointer to the entire structure.