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