declgrep

command
v0.0.0-...-dad8208 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2015 License: BSD-2-Clause Imports: 12 Imported by: 0

README

#declgrep Declgrep greps just the declarations, exported and unexported, excluding import declarations, of a given Go package, or set of Go packages, with the standard build tags.

Download:

go get github.com/jimmyfrasche/goutil/declgrep

If you do not have the go command on your system, you need to Install Go first:


Declgrep greps just the declarations, exported and unexported, excluding import declarations, of a given Go package, or set of Go packages, with the standard build tags.

Declgrep runs an RE2-style regular expression against the names of the declarations in one or more packages. The packages may be specified as with the go(1) tool, including the special ... operator. The -r flag searches both the specified package and its dependencies, even when invoked with the ... operator.

The line number in the output is not guaranteed to be exact, except in the case of functions. Exported and unexported declarations are searched.


Automatically generated by autoreadme on 2015.11.06

Documentation

Overview

Declgrep greps just the declarations, exported and unexported, excluding import declarations, of a given Go package, or set of Go packages, with the standard build tags.

Declgrep runs an RE2-style regular expression against the names of the declarations in one or more packages. The packages may be specified as with the go(1) tool, including the special ... operator. The -r flag searches both the specified package and its dependencies, even when invoked with the ... operator.

The line number in the output is not guaranteed to be exact, except in the case of functions. Exported and unexported declarations are searched.

Jump to

Keyboard shortcuts

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