Skip to content

Commit

Permalink
fix: gem -> get
Browse files Browse the repository at this point in the history
  • Loading branch information
karchx committed Feb 27, 2023
1 parent 46c0317 commit bfcfa62
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/mem/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
)

func main() {
mem, err := memory.GemRam()
mem, err := memory.GetRam()
if err != nil {
log.Fatal(err)
}
Expand Down
2 changes: 1 addition & 1 deletion memory.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bfcfa62

Please sign in to comment.