added build tags to files
This commit is contained in:
1 parent
71e4f1294e
commit
ea50417715
4 files changed
+14
-16
No files matched your search
@@ -1,3 +1,5 @@
|
||||
//go:build linux
|
||||
|
||||
package system_check
|
||||
|
||||
import (
|
||||
@@ -47,3 +49,7 @@ func getLinuxRamInfo() (MemoryInformation, error) {
|
||||
AvailableMemory: AvailMemory,
|
||||
}, nil
|
||||
}
|
||||
|
||||
func GetRamInformation() (MemoryInformation, error) {
|
||||
return getLinuxRamInfo()
|
||||
}
|
||||
Reference in new issue
Block a user