mirror of
https://github.com/containers/skopeo.git
synced 2025-09-08 01:59:41 +00:00
Update c/image from the main branch
> go get github.com/containers/image/v5@main > make vendor Signed-off-by: Miloslav Trmač <mitr@redhat.com>
This commit is contained in:
11
vendor/github.com/go-openapi/strfmt/ulid.go
generated
vendored
11
vendor/github.com/go-openapi/strfmt/ulid.go
generated
vendored
@@ -15,9 +15,12 @@ import (
|
||||
|
||||
// ULID represents a ulid string format
|
||||
// ref:
|
||||
// https://github.com/ulid/spec
|
||||
//
|
||||
// https://github.com/ulid/spec
|
||||
//
|
||||
// impl:
|
||||
// https://github.com/oklog/ulid
|
||||
//
|
||||
// https://github.com/oklog/ulid
|
||||
//
|
||||
// swagger:strfmt ulid
|
||||
type ULID struct {
|
||||
@@ -89,7 +92,9 @@ func NewULIDZero() ULID {
|
||||
}
|
||||
|
||||
// NewULID generates new unique ULID value and a error if any
|
||||
func NewULID() (u ULID, err error) {
|
||||
func NewULID() (ULID, error) {
|
||||
var u ULID
|
||||
|
||||
obj := ulidEntropyPool.Get()
|
||||
entropy, ok := obj.(io.Reader)
|
||||
if !ok {
|
||||
|
Reference in New Issue
Block a user