github.com/Serizao/go-winio@v0.0.0-20230906082528-f02f7f4ad6e8/pkg/guid/guid_windows.go (about)

     1  //go:build windows
     2  // +build windows
     3  
     4  package guid
     5  
     6  import "golang.org/x/sys/windows"
     7  
     8  // GUID represents a GUID/UUID. It has the same structure as
     9  // golang.org/x/sys/windows.GUID so that it can be used with functions expecting
    10  // that type. It is defined as its own type so that stringification and
    11  // marshaling can be supported. The representation matches that used by native
    12  // Windows code.
    13  type GUID windows.GUID