package main import ( "log" "time" ) func timeTrack(start time.Time, name string) { elapsed := time.Since(start) log.Printf("[TRACE] Function %s took %s\n", name, elapsed) }