[ Cmii ] [ Octopus ] - reformat agent-go - 1

This commit is contained in:
zeaslity
2024-03-29 11:39:14 +08:00
parent aa4412f042
commit 1be48aaac2
52 changed files with 683 additions and 557 deletions

View File

@@ -0,0 +1,16 @@
package a_status
import (
"testing"
"wdd.io/agent-common/utils"
)
func TestGetHostInfo(t *testing.T) {
info, err := GetHostInfo()
if err != nil {
t.Errorf("get host info error is %v", err)
}
utils.BeautifulPrint(info)
}