mitchellh / go-ps

Find, list, and inspect processes from Go (golang).
https://gist.github.com/mitchellh/90029601268e59a29e64e55bab1c5bdc
MIT License
1.47k stars 251 forks source link

package not ps #37

Open osok opened 4 years ago

osok commented 4 years ago

when using go get github.com/mitchellh/go-ps, the package is placed in ~/go/src/github.com/mitchellh/go-ps however the package is ps. I fixed it locally by changing the directory to gops and modifying the package in the each file.

tfolbrecht commented 4 years ago

That's where it's placed when you use go get on github repo You can use an alias in your import statement it if you want to use a specific name.