You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
go-library/utils/gouuid/gouuid_test.go

24 lines
316 B

package gouuid
import (
"testing"
)
func TestGetUuId(t *testing.T) {
tests := []struct {
name string
want string
}{{}, {}, {}}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
t.Log(GetUuId())
})
}
}
func BenchmarkGetUuId(b *testing.B) {
for n := 0; n < b.N; n++ {
GetUuId()
}
}