Skip to content

proposal: crypto/x509: rename OIDFromInts to NewOIDFromInts #64012

Description

@mateusz834

All (or most) constructors functions are prefixed with New, #60665 added a function called OIDFromInts. I think that we should prefix it with New, as we do in other parts of the std.
When I want to construct some type I often look what LSP finds for New*, it might be slightly confusing that it is not prefixed with New. It was added just recently so we are still free to change the name at this point.

CC @rolandshoemaker

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions