whatcanGOwrong
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"time"
|
||||
)
|
||||
|
||||
func A() {
|
||||
fmt.Printf("hello delve\n")
|
||||
}
|
||||
|
||||
func main() {
|
||||
count := 0
|
||||
for {
|
||||
A()
|
||||
time.Sleep(time.Millisecond * time.Duration(100))
|
||||
if count >= 30 {
|
||||
break
|
||||
}
|
||||
count++
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user