build: upgrade dependencies and build with go 1.21

This commit is contained in:
2023-08-21 23:04:28 +02:00
parent ddc5ee91e5
commit 3942b32843
1201 changed files with 129198 additions and 39613 deletions

View File

@@ -0,0 +1,22 @@
package testcontainerssession
import (
"sync"
"github.com/google/uuid"
)
var id uuid.UUID
var idOnce sync.Once
func ID() uuid.UUID {
idOnce.Do(func() {
id = uuid.New()
})
return id
}
func String() string {
return ID().String()
}