Golang soustrait deux fois

func subtractTime(time1,time2 time.Time) float64{
    diff := time2.Sub(time1).Seconds()
    return diff
}
Inquisitive Ibex