pkgfile

package
v0.0.0-...-15a92f0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2016 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EditFile

func EditFile(filePath string, f func(io.Reader, io.Writer) error) (retErr error)

EditFile edits the file using f and saves it.

func StripPackageCommentsForFile

func StripPackageCommentsForFile(filePath string) error

StripPackageCommentsForFile strips the package comments for a file.

TODO(pedge): not real verification that we are in package comments, just takes the first block comment in the file and eliminates it.

Types

This section is empty.

Jump to

Keyboard shortcuts

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