chore(gonf): change Promise() methods return type to be more specific
This commit is contained in:
parent
e7572a1382
commit
14511b3201
8 changed files with 7 additions and 28 deletions
|
@ -43,7 +43,7 @@ func (c *CommandPromise) IfRepaired(p ...Promise) Promise {
|
|||
return c
|
||||
}
|
||||
|
||||
func (c *CommandPromise) Promise() Promise {
|
||||
func (c *CommandPromise) Promise() *CommandPromise {
|
||||
commands = append(commands, c)
|
||||
return c
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue