mirror of
https://github.com/IBM/fp-go.git
synced 2025-08-10 22:31:32 +02:00
fix: break cyclic dependencies between IOOption and IOEither
Signed-off-by: Dr. Carsten Leue <carsten.leue@de.ibm.com>
This commit is contained in:
@@ -52,7 +52,7 @@ func TestIOEitherToOption2(t *testing.T) {
|
||||
content,
|
||||
IOEF.WriteFile(filepath.Join(tmpDir, "test.txt"), os.ModePerm),
|
||||
IOE.Swap[error, []byte],
|
||||
IOO.FromIOEither[[]byte, error],
|
||||
IOE.ToIOOption[[]byte, error],
|
||||
)
|
||||
|
||||
fmt.Println(resIOO())
|
||||
|
Reference in New Issue
Block a user