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

fix UserFlags constant types #937

Merged
merged 1 commit into from May 26, 2021

Commits on May 21, 2021

  1. fix UserFlags constant types

    Only UserFlagDiscordEmployee had type UserFlags. All other constants
    defined in the same block were untyped integer constants.
    
    This change makes all UserFlags constants have type UserFlags. The
    primary impact is that godoc and pkg.go.dev should render these
    constants under the documentation for UserFlags, rather than under
    package-level constants.
    zephyrtronium committed May 21, 2021
    Copy the full SHA
    d5d668d View commit details
    Browse the repository at this point in the history