Pakacke with nested folders

For example, in the root of a project I have a package folder repository and a folder book inside of it. Book folder should contain a bookrepository.go file for a package implementation.
What is the rule to name package inside the bookrepository file?

Before suggestion a package name to you, I strongly recommend you to reconsider your package layout.
Here is one article about package styling in go.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.