[ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh

This commit is contained in:
zachmu
2021-10-30 03:10:03 +00:00
parent dab35fdeef
commit 58ddaedf35
2 changed files with 8 additions and 8 deletions

View File

@@ -24,11 +24,11 @@ import (
)
type commandDocumentForMarkdown struct {
Command string
ShortDesc string
Synopsis string
Description string
Options string
Command string
ShortDesc string
Synopsis string
Description string
Options string
}
var cmdMdDocTempl = "## `{{.Command}}`\n\n" +

View File

@@ -51,9 +51,9 @@ func indentLines(s string) string {
sb := strings.Builder{}
lines := strings.Split(s, "\n")
for _, line := range lines {
sb.WriteRune('\t')
sb.WriteString(line)
sb.WriteRune('\n')
sb.WriteRune('\t')
sb.WriteString(line)
sb.WriteRune('\n')
}
return sb.String()
}