Closed helsaawy closed 2 years ago
Using subtests with t.Run() for GUID testing.
t.Run()
Added .String to GUID Variant and Version using golang.org/x/tools/cmd/stringer.
.String
Variant
Version
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.
tools.go
stringer
go generate ./...
go get
Signed-off-by: Hamza El-Saawy hamzaelsaawy@microsoft.com
rebased onto main to fix merge conflicts
Using subtests with
t.Run()
for GUID testing.Added
.String
to GUIDVariant
andVersion
usinggolang.org/x/tools/cmd/stringer
.Added
tools.go
to versionstringer
in go.mod and allowgo generate ./...
to be run without needing ago get
call. Based off of go wiki recommendation.Signed-off-by: Hamza El-Saawy hamzaelsaawy@microsoft.com