feat(platform): 多平台检测/路径/信号/系统信息(含跨平台构建验证)

This commit is contained in:
Aska committed 2026-09-06 04:17:20 +08:00
1 parent efed5f05b1
commit 1d4bed415f
6 files changed
+276

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
//go:build !windows
package platform
import (
"os"
"syscall"
)
func shutdownSignals() []os.Signal {
return []os.Signal{os.Interrupt, syscall.SIGTERM}
}