Improved documentation
This commit is contained in:
parent
11b4ae49ca
commit
780551c206
@ -37,10 +37,4 @@ In a real project you would usually prefix your collections with a project or co
|
|||||||
users := ocean.New[User]("google")
|
users := ocean.New[User]("google")
|
||||||
```
|
```
|
||||||
|
|
||||||
## Recommended structure
|
|
||||||
|
|
||||||
You can add as many directory hierarchies as you need but I recommend using a simple `/namespace/collection/` structure.
|
You can add as many directory hierarchies as you need but I recommend using a simple `/namespace/collection/` structure.
|
||||||
|
|
||||||
Collections should use the singular instead of the plural form (`User` instead of `Users`) because it's better for automation.
|
|
||||||
|
|
||||||
Ocean does not enforce these standards but they are heavily recommended.
|
|
||||||
|
Loading…
Reference in New Issue
Block a user