Very unfortunate that in Go when you have a type definition like
type MyDate time.Time
you loose all the methods of time.Time, including un-/marshalling, while on the other side you cannot define your own methods on non-local types (like time.Time).
Am I overlooking something or is this just a bad design choice?
#golang #go