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/promises.go | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'pkg/promises.go') diff --git a/pkg/promises.go b/pkg/promises.go index 8495650..0198296 100644 --- a/pkg/promises.go +++ b/pkg/promises.go @@ -2,31 +2,10 @@ package gonf type Promise interface { IfRepaired(...Promise) Promise - Promise() Promise Resolve() Status() Status } -//type Operation int -// -//const ( -// AND = iota -// OR -// NOT -//) -// -//func (o Operation) String() string { -// switch o { -// case AND: -// return "and" -// case OR: -// return "or" -// case NOT: -// return "not" -// } -// panic("unknown") -//} - type Status int const ( -- cgit v1.2.3