I am reading mixed opinions on how to name structs and the files that contain them. I'm also having a hard time finding detail on multi-word structs.
What is the most standard way to name my structs and the files that contain them in the following project?
I have an executable project with 2 structs:
I want to declare the structs in their own file so I can create test files. Each will get imported into
- Do I name the structs
PascalCase? if not, how?
- How should the go files be named?
This doc is why I went with Pascal Case first, but it is a one word struct and doesn't show it being used in a separate file. https://tour.golang.org/moretypes/2