|
@@ -5,7 +5,7 @@ package sysinfo
|
|
|
|
|
|
import "errors"
|
|
import "errors"
|
|
|
|
|
|
-// ReadMemInfo is not supported on platforms other than linux and windows.
|
|
|
|
-func ReadMemInfo() (*Memory, error) {
|
|
|
|
|
|
+// readMemInfo is not supported on platforms other than linux and windows.
|
|
|
|
+func readMemInfo() (*Memory, error) {
|
|
return nil, errors.New("platform and architecture is not supported")
|
|
return nil, errors.New("platform and architecture is not supported")
|
|
}
|
|
}
|