doc gofmt

This commit is contained in:
alessio 2016-08-21 20:30:11 +02:00
parent 7f3ed8f2da
commit d4dc21217f
1 changed files with 1 additions and 0 deletions

View File

@ -112,6 +112,7 @@ func (p *Project) GoInstall() error {
return nil
}
// GoFmt is an implementation of the gofmt
func (p *Project) GoFmt() (io.Writer, error) {
var out bytes.Buffer
build := exec.Command("gofmt", "-s", "-w", "-e", ".")