main.go 327 B

1234567891011121314151617
  1. package main
  2. import (
  3. "fmt"
  4. "time"
  5. _ "ydMonitoring/logger"
  6. "ydMonitoring/service"
  7. )
  8. func main() {
  9. startTime := time.Now()
  10. //service.EquipmentMonitoring2()
  11. service.TestService()
  12. //fmt.Println(25.3 + rand.Float64()*0.4 - 0.2)
  13. elapsedTime := time.Since(startTime)
  14. fmt.Printf("程序执行耗时: %v\n", elapsedTime)
  15. }