UnixTime and time.Time are different types with different method sets. UnixTime is not a subclass or a child type of time.Time as there is no such thing as inheritance in go.
Try printing this value. time.Time(*t) Dave -- 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.