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

Replace the interface{} type with the shorter any #630

Merged
merged 1 commit into from
Oct 31, 2023

Commits on Oct 17, 2023

  1. Replace the interface{} type with the shorter any

    Go 1.18 includes the predeclared identifier "any", which is a shorter
    alias of "interface{}". The following command was used to replace each
    instance of "interface{}" with "any" in the codebase excluding the
    vendor directory and auto generated protobuf files (.pb.go).
    `gofmt -r 'interface{} -> any' -w .`
    enarha committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    9d244ae View commit details
    Browse the repository at this point in the history