Skip to content

Commit

Permalink
misc fix
Browse files Browse the repository at this point in the history
  • Loading branch information
koron committed Mar 15, 2020
1 parent 3fb65b7 commit ae7c630
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Go

on: [push]
on: [push, pull_request]

env:
GOPATH: ${{ github.workspace }}/..
Expand Down
4 changes: 2 additions & 2 deletions phymem.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import "errors"
// for test.
const providedCurrent = false

var notImpl = errors.New("Current() is not implemented for this platform")
var errNotImpl = errors.New("Current() is not implemented for this platform")

// Current get physical memory which used by current process.
func Current() (uint, error) {
return 0, notImpl
return 0, errNotImpl
}

0 comments on commit ae7c630

Please sign in to comment.