摘要:
实例2: 阅读全文
posted @ 2019-07-01 14:44
清明-心若淡定
阅读(2694)
评论(0)
推荐(0)
摘要:
package main import ( "fmt" "github.com/StackExchange/wmi" ) type Storage struct { Name string FileSystem string Total uint64 Free uint64 } type storageInfo struct { Name ... 阅读全文
posted @ 2019-07-01 14:40
清明-心若淡定
阅读(3505)
评论(0)
推荐(0)
摘要:
package main import ( "fmt" "github.com/StackExchange/wmi" ) type gpuInfo struct { Name string } func getGPUInfo() { var gpuinfo []gpuInfo err := wmi.Query("Select * from Win32_VideoControl... 阅读全文
posted @ 2019-07-01 14:37
清明-心若淡定
阅读(1253)
评论(0)
推荐(0)
摘要:
package main import ( "fmt" "log" "net" "strings" ) type Network struct { Name string IP string MACAddress string } type intfInfo struct { Name string MacAddress strin... 阅读全文
posted @ 2019-07-01 14:35
清明-心若淡定
阅读(1698)
评论(0)
推荐(0)
摘要:
输出结果: total := 17054044160 free=: 12900540416 阅读全文
posted @ 2019-07-01 14:23
清明-心若淡定
阅读(2918)
评论(0)
推荐(0)
浙公网安备 33010602011771号