Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

github.com/gofrs/uuid removing support for Version 2 UUID generation #2

Open
theckman opened this issue Feb 15, 2019 · 0 comments
Open

Comments

@theckman
Copy link

Hi there,

I wanted to reach out and make you aware of this PR that will likely be merged in to the github.com/gofrs/uuid repo that will result in a new major version being cut: gofrs/uuid#71

I found that you appear to consume the code that's going to be removed here, and thought you may want to preemptively remove it:

case "V2":
domain := context.GetInput(ivDomain).(string)
switch domain {
case "Person":
u, err := uuid.NewV2(uuid.DomainPerson)
if err != nil {
return false, err
}
context.SetOutput(ovResult, u.String())
case "Group":
u, err := uuid.NewV2(uuid.DomainGroup)
if err != nil {
return false, err
}
context.SetOutput(ovResult, u.String())
case "Org":
u, err := uuid.NewV2(uuid.DomainOrg)
if err != nil {
return false, err
}
context.SetOutput(ovResult, u.String())
}

Cheers!
-Tim

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant