Skip to content

Commit

Permalink
cm: add Result method to resulter interface
Browse files Browse the repository at this point in the history
  • Loading branch information
ydnar committed Nov 1, 2024
1 parent b90797c commit ee7a100
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cm/result_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ type resulter[OK, Err any] interface {
IsErr() bool
OK() *OK
Err() *Err
Result() (OK, Err, bool)
}

func TestResultOKOrErr(t *testing.T) {
Expand Down

0 comments on commit ee7a100

Please sign in to comment.