grind

command module
v0.0.0-...-801db2e Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2015 License: BSD-3-Clause Imports: 11 Imported by: 0

README

go get rsc.io/grind

http://godoc.org/rsc.io/grind

Documentation

Overview

Grind polishes Go programs.

Usage:

grind [-diff] [-v] packagepath...

Grind rewrites the source files in the named packages. When grind rewrites a file, it prints a line to standard error giving the name of the file and the rewrites applied.

As a special case, if the arguments are a list of Go source files, they are considered to make up a single package, which is then rewritten.

If the -diff flag is set, no files are rewritten. Instead grind prints the differences a rewrite would introduce.

Grind does not make backup copies of the files that it edits. Instead, use a version control system's “diff” functionality to inspect the changes that grind makes before committing them.

Directories

Path Synopsis
Package flow provides access to control flow graph computation and analysis for Go programs.
Package flow provides access to control flow graph computation and analysis for Go programs.
Package grinder defines the API for individual grinding bits.
Package grinder defines the API for individual grinding bits.

Jump to

Keyboard shortcuts

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