go-tip
Adds the ability to inspect variables, functions, types, etc., by hovering over them.
mike fitzgerald 6,426 3 2.4.0 Apache-2.0 GitHub

go-tip

This package adds the ability to inspect variables, functions, types, etc., by hovering over them.

  • Github: https://github.com/xpressivecode/go-tip
  • Atom: https://atom.io/packages/go-tip

go-tip-demo

Overview

This package can return information on the following:

  • Functions
  • Types (including structs with tags)
  • Variables
  • Packages
  • Constants (includes value)
  • Literals

Dependencies

This package relies on go-config to locate your go sdk and tools.

This package relies on guru to retrieve information about the code you wish to inspect.

go get -u golang.org/x/tools/cmd/guru

Having Issues?

As guru works by analyzing files, you must be sure to have saved your changes if your code has been modified.

Contributing

Any contributions would be appreciated. Please fork the repo and submit a pull request.