package status import ( "encoding/json" "fmt" "testing" ) func TestReportAppStatus(t *testing.T) { agentStatus := ReportAppStatus() marshal, err := json.Marshal(agentStatus) if err != nil { return } fmt.Printf(string(marshal)) }