Fix typo of ReadCloser
This commit is contained in:
parent
e19b039954
commit
6f6415241e
2
main.go
2
main.go
|
@ -9,7 +9,7 @@ import (
|
||||||
"syscall/js"
|
"syscall/js"
|
||||||
)
|
)
|
||||||
|
|
||||||
// ReadableStream implements io.ReaderCloser for a JavaScript ReadableStream.
|
// ReadableStream implements io.ReadCloser for a JavaScript ReadableStream.
|
||||||
type ReadableStream struct {
|
type ReadableStream struct {
|
||||||
stream js.Value
|
stream js.Value
|
||||||
lock sync.Mutex
|
lock sync.Mutex
|
||||||
|
|
Loading…
Reference in New Issue