package main import ( "fmt" "time" ) func upwards() { for i := 0; i < 100; i++ { fmt.Println(i) time.Sleep(time.Millisecond * 75) } } func downwards() { for i := 100; i >= 0; i-- { fmt.Println(i) time.Sleep(time.Millisecond * 75) } }