main.go 307 B

12345678910111213141516
  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. elapsedTime := time.Since(startTime)
  12. fmt.Printf("函数执行耗时: %v\n", elapsedTime)
  13. //util.SendModel("15186767321", []string{"1", "2"})
  14. }