Unfortunately also brings in golang.org/x/tools and golang.org/x/mod as a dependency, due to go-winio using a "tools.go" file. full diff: https://github.com/Microsoft/go-winio/compare/v0.5.2...v0.6.1 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
14 lines
420 B
Go
14 lines
420 B
Go
//go:build windows
|
|
// +build windows
|
|
|
|
package guid
|
|
|
|
import "golang.org/x/sys/windows"
|
|
|
|
// GUID represents a GUID/UUID. It has the same structure as
|
|
// golang.org/x/sys/windows.GUID so that it can be used with functions expecting
|
|
// that type. It is defined as its own type so that stringification and
|
|
// marshaling can be supported. The representation matches that used by native
|
|
// Windows code.
|
|
type GUID windows.GUID
|