added build tags to files

This commit is contained in:
lin committed 2026-10-05 14:48:43 +02:00
1 parent 71e4f1294e
commit ea50417715
4 files changed
+14 -16

No files matched your search

+6
View File
@@ -1,3 +1,5 @@
//go:build windows
package system_check
import (
@@ -42,3 +44,7 @@ func getWinRamInfo(procGlobalMemoryStatusEx *windows.LazyProc) MemoryInformation
AvailableMemory: mem.ullAvailPhys,
}
}
func GetRamInformation() (MemoryInformation, error) {
return getWinRamInfo(getWindowsTools().ProcGlobalMemoryStatusEx), nil
}