mirror of
https://github.com/dolthub/dolt.git
synced 2026-02-11 10:33:08 -06:00
[ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh
This commit is contained in:
@@ -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" +
|
||||
|
||||
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user