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
|
@ -46,7 +46,7 @@ func (u *UserPromise) IfRepaired(p ...Promise) Promise {
|
|||
return u
|
||||
}
|
||||
|
||||
func (u *UserPromise) Promise() Promise {
|
||||
func (u *UserPromise) Promise() *UserPromise {
|
||||
users = append(users, u)
|
||||
return u
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue