elvish/pkg/sys/ewindows/ewindows.go
Qi Xiao 3585d933b8 pkg/sys/ewindows: Remove the _windows suffix from most files.
All the files in this package are Windows-specific. Use build
constraints to ensure that they don't build on other platforms instead.
2021-10-02 22:38:02 +01:00

12 lines
318 B
Go

//go:generate cmd /c go tool cgo -godefs types.go > ztypes_windows.go && gofmt -w ztypes_windows.go
//go:build windows
// +build windows
// Package ewindows provides extra Windows-specific system utilities.
package ewindows
import "golang.org/x/sys/windows"
var kernel32 = windows.NewLazySystemDLL("kernel32.dll")