bazel-contrib / bazel-gazelle

Gazelle is a Bazel build file generator for Bazel projects. It natively supports Go and protobuf, and it may be extended to support new languages and custom rule sets.
Apache License 2.0
1.19k stars 378 forks source link

rename `main()` entrypoints to `main.go` #1901

Closed tyler-french closed 1 month ago

tyler-french commented 1 month ago

Based on https://go.dev/doc/modules/layout#basic-command

The file with the main() function should be named main.go.

This makes things easier to find while searching through source code.