Hacker News new | past | comments | ask | show | jobs | submit login

Time is a struct, so nil is not a legal value. You would have to store a pointer (var t *time.Time) instead.



Yes, I was suggesting storing a pointer to the entire structure.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: