Documentation
¶
Overview ¶
Command arandu is the entry point of this application.
It is what Laravel splits between public/index.php and artisan: the binary is the server, and the same binary is the command line. There is no front controller and no document root, because in Go the process listens itself.
The wiring is not here. bootstrap/app.go composes the application and hands it back ready; this file decides which of the composed pieces the requested command needs, and starts it.
`aru serve` runs this binary with that argument, because only this binary knows which modules exist.
Directories
¶
| Path | Synopsis |
|---|---|
|
app
|
|
|
Http/Controllers
Package controllers holds this application's controllers.
|
Package controllers holds this application's controllers. |
|
Models
Package models holds this application's domain types.
|
Package models holds this application's domain types. |
|
Policies
Package policies holds this application's authorization decisions.
|
Package policies holds this application's authorization decisions. |
|
Providers
Package providers holds this application's own modules.
|
Package providers holds this application's own modules. |
|
Package assets carries what `aru view:build` compiled, into the binary.
|
Package assets carries what `aru view:build` compiled, into the binary. |
|
Package bootstrap composes the application.
|
Package bootstrap composes the application. |
|
Package config is this application's configuration, one file per domain -- the same ten files Laravel puts in config/, with the same names.
|
Package config is this application's configuration, one file per domain -- the same ten files Laravel puts in config/, with the same names. |
|
database
|
|
|
factories
Package factories builds domain objects with sensible values.
|
Package factories builds domain objects with sensible values. |
|
migrations
Package migrations holds this application's own schema changes.
|
Package migrations holds this application's own schema changes. |
|
seeders
Package seeders holds the database seeders of this project.
|
Package seeders holds the database seeders of this project. |
|
Package public serves the files a browser or a crawler asks for by a fixed path.
|
Package public serves the files a browser or a crawler asks for by a fixed path. |
|
resources
|
|
|
Package routes is where this application declares what it answers.
|
Package routes is where this application declares what it answers. |
Click to show internal directories.
Click to hide internal directories.