func timeOperation()

in helpers.go [5:9]


func timeOperation(f func() error) (time.Duration, error) {
	start := time.Now()
	err := f()
	return time.Since(start), err
}