haya14busa / goplay

The Go Playground (https://play.golang.org/) client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compile error on Windows

inliquid opened this issue · comments

Getting this both with GO111MODULE set to on and off

C:\Users\***>set "GO111MODULE=off"

C:\Users\***>go get -u -v github.com/haya14busa/goplay/cmd/goplay
github.com/haya14busa/goplay (download)
github.com/skratchdot/open-golang (download)
github.com/skratchdot/open-golang/open
# github.com/skratchdot/open-golang/open
go\src\github.com\skratchdot\open-golang\open\exec_windows.go:10:2: imported and not used: "syscall"

C:\Users\***>set "GO111MODULE=on"

C:\Users\***>go get -u -v github.com/haya14busa/goplay/cmd/goplay
go: finding github.com/haya14busa/goplay/cmd/goplay latest
go: finding github.com/haya14busa/goplay/cmd latest
go: finding github.com/skratchdot/open-golang/open latest
go: finding github.com/skratchdot/open-golang latest
github.com/skratchdot/open-golang/open
# github.com/skratchdot/open-golang/open
go\pkg\mod\github.com\skratchdot\open-golang@v0.0.0-20190331143844-1a48294fa5dd\open\exec_windows.go:10:2: imported and not used: "syscall"