doc gofmt
This commit is contained in:
parent
7f3ed8f2da
commit
d4dc21217f
@ -112,6 +112,7 @@ func (p *Project) GoInstall() error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// GoFmt is an implementation of the gofmt
|
||||||
func (p *Project) GoFmt() (io.Writer, error) {
|
func (p *Project) GoFmt() (io.Writer, error) {
|
||||||
var out bytes.Buffer
|
var out bytes.Buffer
|
||||||
build := exec.Command("gofmt", "-s", "-w", "-e", ".")
|
build := exec.Command("gofmt", "-s", "-w", "-e", ".")
|
||||||
|
Loading…
Reference in New Issue
Block a user