main
1//go:build !windows
2// +build !windows
3
4package guid
5
6// GUID represents a GUID/UUID. It has the same structure as
7// golang.org/x/sys/windows.GUID so that it can be used with functions expecting
8// that type. It is defined as its own type as that is only available to builds
9// targeted at `windows`. The representation matches that used by native Windows
10// code.
11type GUID struct {
12 Data1 uint32
13 Data2 uint16
14 Data3 uint16
15 Data4 [8]byte
16}