Added system module, GetUptimeSeconds and GetUptimeFormatted funcs, taskGetSystemUptime

This commit is contained in:
Paulo Truta
2021-05-31 11:21:14 +00:00
parent 770e814b6e
commit df3f8fe904
4 changed files with 77 additions and 0 deletions
+5
View File
@@ -3,8 +3,13 @@ module github.com/edgebox-iot/edgeboxctl
go 1.15
require (
github.com/StackExchange/wmi v0.0.0-20210224194228-fe8f1750fd46 // indirect
github.com/go-ole/go-ole v1.2.5 // indirect
github.com/go-sql-driver/mysql v1.5.0
github.com/joho/godotenv v1.3.0
github.com/mattn/go-sqlite3 v1.14.7 // indirect
github.com/shirou/gopsutil v3.21.4+incompatible // indirect
github.com/tklauser/go-sysconf v0.3.6 // indirect
golang.org/x/sys v0.0.0-20210531080801-fdfd190a6549 // indirect
gopkg.in/yaml.v2 v2.4.0
)