Place main entrypoint .go source code in src/cmd/<program name>/main.go, in order to adopt more community conventions.
We already do this for the bigger Go projects, but some of the early beginner Go apps like FizzBuzz benefit from catching up to this convention. As a minor future-proofing enhancement.
Place main entrypoint .go source code in
src/cmd/<program name>/main.go
, in order to adopt more community conventions.We already do this for the bigger Go projects, but some of the early beginner Go apps like FizzBuzz benefit from catching up to this convention. As a minor future-proofing enhancement.