From 14511b320186c8eb4a2905a348fed533bb9a4814 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Wed, 28 Aug 2024 00:14:30 +0200 Subject: chore(gonf): change Promise() methods return type to be more specific --- pkg/packages.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/packages.go') diff --git a/pkg/packages.go b/pkg/packages.go index 87db647..7ed8584 100644 --- a/pkg/packages.go +++ b/pkg/packages.go @@ -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 } -- cgit v1.2.3