1
0
mirror of https://github.com/golang/go synced 2024-11-12 07:10:22 -07:00

syscall: gofmt -w -s

Change-Id: Ib46f1a528e16cd0c2617defbf4dcd1f1b582cdc2
Reviewed-on: https://go-review.googlesource.com/c/go/+/171101
Run-TryBot: Mikio Hara <mikioh.public.networking@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Mikio Hara 2019-04-09 10:10:21 +09:00
parent 7ea4cd3fa9
commit 2ab75c0f40

View File

@ -38,9 +38,9 @@ type jsFile struct {
var filesMu sync.Mutex var filesMu sync.Mutex
var files = map[int]*jsFile{ var files = map[int]*jsFile{
0: &jsFile{}, 0: {},
1: &jsFile{}, 1: {},
2: &jsFile{}, 2: {},
} }
func fdToFile(fd int) (*jsFile, error) { func fdToFile(fd int) (*jsFile, error) {