I have to use the civil.Datetime due to a Query response from a Bigquery database.
How can I get a time.Time date from civil.Datetime in Golang?
Something like:
var date time.Time = civil.ToTime(myCivilTime)
I checked the civil time docs : https://godoc.org/cloud.google.com/go/civil and there is a function that seems to make what I'm asking.
func (d Date) In(loc *time.Location) time.Time
But I am not sure about how should I set the *time.Location param.