corpetty / go-alethio-api

Alethio API client written in golang
3 stars 2 forks source link

timestamps should be time.Date s #6

Open tzapu opened 5 years ago

tzapu commented 5 years ago

for ease of use in go

corpetty commented 5 years ago

are they unix timestamps? thoughts on using time.Unix over your suggestion?

ref: https://stackoverflow.com/questions/24987131/how-to-parse-unix-timestamp-to-time-time

tzapu commented 5 years ago

unless i m reading this wrong, https://golang.org/pkg/time/#Unix will return a time.Date , so it's the same thing :D

corpetty commented 5 years ago

This is usually the point where I call myself an idiot.