prepare windows platform support

This commit is contained in:
criyle 2020-04-25 14:21:49 -04:00
parent 35b0d100ab
commit f2f60ceb7c
9 changed files with 1 additions and 0 deletions

View File

@ -12,6 +12,7 @@ func (m *memFile) Open() (*os.File, error) {
return nil, err return nil, err
} }
go func() { go func() {
defer w.Close()
w.Write(m.content) w.Write(m.content)
}() }()
return r, nil return r, nil