1234567891011121314151617 |
- package main
- import (
- "fmt"
- "time"
- _ "ydMonitoring/logger"
- "ydMonitoring/service"
- )
- func main() {
- startTime := time.Now()
- //service.EquipmentMonitoring2()
- service.TestService()
- //fmt.Println(25.3 + rand.Float64()*0.4 - 0.2)
- elapsedTime := time.Since(startTime)
- fmt.Printf("程序执行耗时: %v\n", elapsedTime)
- }
|