close
package main
import (
"fmt"
"time"
)
func main() {
s := time.Now()
// 你要測試的程式碼:例如迴圈...
fmt.Println(time.Since(s))
}
全站熱搜
package main
import (
"fmt"
"time"
)
func main() {
s := time.Now()
// 你要測試的程式碼:例如迴圈...
fmt.Println(time.Since(s))
}
留言列表