diff --git a/examples/mem/main.go b/examples/mem/main.go index 0693f9e..f5340dc 100644 --- a/examples/mem/main.go +++ b/examples/mem/main.go @@ -8,7 +8,7 @@ import ( ) func main() { - mem, err := memory.GemRam() + mem, err := memory.GetRam() if err != nil { log.Fatal(err) } diff --git a/memory.go b/memory.go index 0bb756b..32099df 100644 --- a/memory.go +++ b/memory.go @@ -38,7 +38,7 @@ func parseMeValue(v string) int { return in } -func GemRam() (Ram, error) { +func GetRam() (Ram, error) { lines, err := readLines(MemInfo, 16) if err != nil { return Ram{}, err