mirror of
https://github.com/criyle/go-judge.git
synced 2025-11-04 14:50:02 +08:00
prepare windows platform support
This commit is contained in:
parent
35b0d100ab
commit
f2f60ceb7c
@ -12,6 +12,7 @@ func (m *memFile) Open() (*os.File, error) {
|
||||
return nil, err
|
||||
}
|
||||
go func() {
|
||||
defer w.Close()
|
||||
w.Write(m.content)
|
||||
}()
|
||||
return r, nil
|
||||
|
||||
Loading…
Reference in New Issue
Block a user