shirou_gopsutil/docker/main_test.go

22 lines
324 B
Go

package docker
import (
"fmt"
"testing"
)
func TestSysAdvancedDockerInfo(t *testing.T) {
list, err := GetDockerIDList()
if err != nil {
fmt.Println(err)
}
for _, item := range list {
fmt.Println(item)
}
/*docker,err := SysAdvancedDockerInfo()
if err!= nil{
fmt.Println(err)
}
fmt.Printf("%#v",docker)*/
}