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