Use fmt.Fprint{f,}; add duration type
Rewrite SQL queries