mirror of
https://github.com/IBM/fp-go.git
synced 2025-11-23 22:14:53 +02:00
fix: add statereaderioresult
Signed-off-by: Dr. Carsten Leue <carsten.leue@de.ibm.com>
This commit is contained in:
@@ -40,7 +40,7 @@ func TestWithResource(t *testing.T) {
|
||||
return Of[error](f.Name())
|
||||
}
|
||||
|
||||
tempFile := WithResource[error, *os.File, string](onCreate, onDelete)
|
||||
tempFile := WithResource[string](onCreate, onDelete)
|
||||
|
||||
resE := tempFile(onHandler)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user