func StatusUpdate(mix *hashdb.HashMix) { c := time.Tick(1 * time.Minute) for now := range c { md5, sha1, err := mix.Count() if err != nil { fmt.Printf("[Status %v] Error:", now, err) continue } fmt.Printf("[Status %v] MD5: %d - SHA1: %d", now, md5, sha1) } }