Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
p1mrx
on Sept 10, 2015
|
parent
|
context
|
favorite
| on:
Time in Go
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
on Sept 11, 2015
[–]
Yes, I was suggesting storing a pointer to the entire structure.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: