mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-26 05:30:54 +03:00
all: Fix comments for exported functions and packages
This commit is contained in:
parent
24e7d0c174
commit
610cedaa61
24 changed files with 30 additions and 30 deletions
|
@ -73,7 +73,7 @@ func (ini *Init) Branch(initFn func(context.Context) (any, error)) *Init {
|
|||
return ini.add(true, initFn)
|
||||
}
|
||||
|
||||
// BranchdWithTimeout is same as Branch, but with a timeout.
|
||||
// BranchWithTimeout is same as Branch, but with a timeout.
|
||||
func (ini *Init) BranchWithTimeout(timeout time.Duration, f func(ctx context.Context) (any, error)) *Init {
|
||||
return ini.Branch(func(ctx context.Context) (any, error) {
|
||||
return ini.withTimeout(ctx, timeout, f)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue