feat: #1140 added godoc

This commit is contained in:
Alexander Miranda 2024-06-19 12:59:33 -05:00
parent b522459430
commit c71ca75519
No known key found for this signature in database
GPG Key ID: 22010069FB6DBA40
1 changed files with 2 additions and 0 deletions

View File

@ -157,6 +157,8 @@ func GenMarkdownTreeCustom(cmd *cobra.Command, dir string, filePrepender, linkHa
return nil return nil
} }
// GenMarkdownTreeCustomWithFooter is the same as GenMarkdownTree, but
// with custom filePrepender, fileAppender, and linkHandler.
func GenMarkdownTreeCustomWithFooter( func GenMarkdownTreeCustomWithFooter(
cmd *cobra.Command, dir string, filePrepender, fileAppender, linkHandler func(string) string) error { cmd *cobra.Command, dir string, filePrepender, fileAppender, linkHandler func(string) string) error {
for _, c := range cmd.Commands() { for _, c := range cmd.Commands() {