
Some minor improvements, but biggest for here is ErrPipeListenerClosed is no longer an errors.New where the string matches the text of the now exported net.ErrClosed in the stdlib, but is just assigned to net.ErrClosed directly. This should allow us to get rid of the string check for "use of closed network connection" here now.. Signed-off-by: Daniel Canter <dcanter@microsoft.com>
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
|