Closed tyler-french closed 1 month ago
Based on https://go.dev/doc/modules/layout#basic-command
The file with the main() function should be named main.go.
main()
main.go
This makes things easier to find while searching through source code.
Based on https://go.dev/doc/modules/layout#basic-command
The file with the
main()
function should be namedmain.go
.This makes things easier to find while searching through source code.