feat: 添加虚拟化检测功能

This commit is contained in:
Akizon77
2025-05-26 19:23:24 +08:00
parent 21b1b17e84
commit 2c0bd25d18
3 changed files with 41 additions and 11 deletions

View File

@@ -0,0 +1,10 @@
package monitoring
import (
"testing"
)
func TestVirtualized(t *testing.T) {
virt := Virtualized()
t.Logf("Virtualization type: %s", virt)
}