gops

command module
v0.0.0-...-ef99e63 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 20, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

README

gops replacement for GoLand

GoLand needs gops utility to list all Go processes for debugger.

This utility is a replacement of a small subset used by GoLand, namely:

  • GoLand invokes gops without arguments.
  • GoLand reads the output, and ignores everything except first word (PID).

Why replacement

gops uses github.com/keybase/go-ps that uses cgo under macOS.

github.com/mitchellh/go-ps does not use cgo, but also does not have Path() method used by gops.

To avoid cgo we have to reimplement pieces of go-ps, unfortunately.

Copyright Tectonic Labs Ltd.

Licensed under Apache 2.0 license.

Authors:

Documentation

The Go Gopher

There is no documentation for this package.