summaryrefslogtreecommitdiff
path: root/pkg/users.go
diff options
context:
space:
mode:
authorJulien Dessaux2024-08-28 00:14:30 +0200
committerJulien Dessaux2024-08-28 00:15:36 +0200
commit14511b320186c8eb4a2905a348fed533bb9a4814 (patch)
tree4b6a0123d688536eae4a3ccc8085a76088d2b294 /pkg/users.go
parentfeat(files): support creating directories (diff)
downloadgonf-14511b320186c8eb4a2905a348fed533bb9a4814.tar.gz
gonf-14511b320186c8eb4a2905a348fed533bb9a4814.tar.bz2
gonf-14511b320186c8eb4a2905a348fed533bb9a4814.zip
chore(gonf): change Promise() methods return type to be more specific
Diffstat (limited to 'pkg/users.go')
-rw-r--r--pkg/users.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/users.go b/pkg/users.go
index 2577207..14a8acd 100644
--- a/pkg/users.go
+++ b/pkg/users.go
@@ -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
}