code: func runGoFmt(filePath string) error {
  	args := []string{
  		"-w",
  		filePath,
  	}
  
  	if out, err := exec.Command("gofmt", args...).CombinedOutput(); err != nil {
  		log.Errorf("Error running go fmt on '%s' failed:\n%s", filePath, string(out))
  		return errors.New("go fmt failed")
  	}
  	return nil
  }
docs: // run `go fmt` command to a file