implements

command module
v0.0.0-...-8d6e0e9 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2016 License: MIT Imports: 7 Imported by: 0

README

This program has been deprecated. Consider using guru instead, which can answer the same question as this tool, and many more.

implements

implements is a command line tool that will tell you which types implement which interfaces, or which interfaces are implemented by which types.

Install

go get honnef.co/go/implements

Usage

implements -help to get a description of the use flags and example usage.

But…

Yes, there are potentially ℙ(M) unique interfaces (all combinations of method signatures), and an unlimited amount of not-unique named and unnamed interfaces. That, however, isn't the scope of this tool. This is more of a "what types that I care about implement io.Reader?" or a "does my type really implement http.File?" – This would be especially useful for early discovery of the standard libraries, enriching Go documentation and assisting editors and IDEs in providing live feedback and possibly auto completion.

Again, the idea is not to run this unconditionally on all code there is, but on for example the standard library and specific packages/types you care about.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL