microsoft / go-winio

Win32 IO-related utilities for Go
MIT License
946 stars 180 forks source link

GUID tests to use t.Run #256

Closed helsaawy closed 2 years ago

helsaawy commented 2 years ago

Using subtests with t.Run() for GUID testing.

Added .String to GUID Variant and Version using golang.org/x/tools/cmd/stringer.

Added tools.go to version stringer in go.mod and allow go generate ./... to be run without needing a go get call. Based off of go wiki recommendation.

Signed-off-by: Hamza El-Saawy hamzaelsaawy@microsoft.com

helsaawy commented 2 years ago

rebased onto main to fix merge conflicts