package main import ( "time" ) type Weight struct { Time time.Time Weight float64 }