Skip to content
/ gir Public

List exposed items in scope of a Go package

License

Notifications You must be signed in to change notification settings

m4ns0ur/gir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gir

A tools to list all exported items in scope of a Go package (somehow similar to Python dir()).

Install

go get -u github.com/m4ns0ur/gir

Make sure $GOPATH/bin is in the path.

Usage

$ gir -h
Usage: gir [options] package[:item]

Gir shows all exported items in the package scope.

Options:
  -h help
    	Show this help
  -l list
    	Show as a list
  -u unexported
    	Show unexported items as well
  -v verbose
    	Show more verbose details (use with -list)
$ gir fmt
[Errorf, Formatter, Fprint, Fprintf, Fprintln, Fscan, Fscanf, Fscanln, GoStringer, Print, Printf, Println, Scan, ScanState, Scanf, Scanln, Scanner, Sprint, Sprintf, Sprintln, Sscan, Sscanf, Sscanln, State, Stringer, init]
$ gir fmt:Printf
func Printf(format string, a ...interface{}) (n int, err error)
$ gir github.com/fatih/color:Bold
const Bold Attribute

About

List exposed items in scope of a Go package

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages