start = time.Now()for {select {case <-tick.C:end = time.Now()log.Debug("time span ", end.Sub(start))
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Mar 29 06:07:59.927 [INF] master_service.go:267 time span : 20.448122623s Updated entry in : 517.139µsMar 29 06:08:06.530 [INF] master_service.go:267 time span : 6.603211053s Updated entry in : 2.440108719sMar 29 06:08:34.071 [INF] master_service.go:267 time span : 14.592913681s Updated entry in : 383.052µs
type mydata struct {
data []byte
tm time.Time
}