]> git.lizzy.rs Git - go-anidb.git/commitdiff
mylistadd: Say on stdout that you're waiting on the API
authorDiogo Franco (Kovensky) <diogomfranco@gmail.com>
Fri, 26 Jul 2013 14:00:54 +0000 (11:00 -0300)
committerDiogo Franco (Kovensky) <diogomfranco@gmail.com>
Fri, 26 Jul 2013 14:00:54 +0000 (11:00 -0300)
The lack of protocol spam due to the new default logger makes the program
weirdly pause at the end.

examples/mylistadd/main.go

index 458200f0e376ccfa9c0128db4f5a17a265ea71c5..6f914f743eecd1b240741d923b4d46eccaf98fa4 100644 (file)
@@ -100,6 +100,8 @@ func main() {
                }
        }
 
+       fmt.Println("Waiting for API...")
+
        count := 0
        for ok := range done {
                if ok {