Open Merith-TK opened 4 years ago
You have to set the environment variable
GOOS=windows
before calling go build
or go run
. This tells Go that you want to build for windows. The syscall package only has NewLazyDLL etc. on Windows. syscall is OS specific.
when i try to goget for my archlinux machine