Directories
¶
| Path | Synopsis |
|---|---|
|
adapters
|
|
|
gin
module
|
|
|
Package casts provides a small attribute-casting layer the ORM applies on reads and writes.
|
Package casts provides a small attribute-casting layer the ORM applies on reads and writes. |
|
Package cli implements the Artisan-style command-line interface.
|
Package cli implements the Artisan-style command-line interface. |
|
cmd
Package cmd contains the implementation of each Artisan subcommand.
|
Package cmd contains the implementation of each Artisan subcommand. |
|
cmd
|
|
|
artisan
command
Command artisan is the default lagodev Artisan-style CLI binary.
|
Command artisan is the default lagodev Artisan-style CLI binary. |
|
Package config loads framework configuration from environment variables and .env files.
|
Package config loads framework configuration from environment variables and .env files. |
|
drivers
|
|
|
mysql
Package mysql registers the MySQL/MariaDB driver and grammar.
|
Package mysql registers the MySQL/MariaDB driver and grammar. |
|
postgres
Package postgres registers the PostgreSQL driver and grammar.
|
Package postgres registers the PostgreSQL driver and grammar. |
|
sqlite
Package sqlite registers the SQLite driver (via mattn/go-sqlite3) and provides a Grammar implementation.
|
Package sqlite registers the SQLite driver (via mattn/go-sqlite3) and provides a Grammar implementation. |
|
examples
|
|
|
basic
command
Example: end-to-end usage of lagodev with an in-memory SQLite database.
|
Example: end-to-end usage of lagodev with an in-memory SQLite database. |
|
gin
command
Example: integrating lagodev with a net/http API.
|
Example: integrating lagodev with a net/http API. |
|
microservice
command
Example: a microservice-style worker that reads jobs from a queue table.
|
Example: a microservice-style worker that reads jobs from a queue table. |
|
Package factory provides a generic, type-safe model factory inspired by Laravel's factories.
|
Package factory provides a generic, type-safe model factory inspired by Laravel's factories. |
|
internal
|
|
|
inflect
Package inflect provides minimal, allocation-conscious string transformations used across the framework (snake_case, plural table names, etc.).
|
Package inflect provides minimal, allocation-conscious string transformations used across the framework (snake_case, plural table names, etc.). |
|
reflectutil
Package reflectutil provides a thread-safe, allocation-amortized reflection cache.
|
Package reflectutil provides a thread-safe, allocation-amortized reflection cache. |
|
Package logger provides a small, dependency-free structured logger used across the framework.
|
Package logger provides a small, dependency-free structured logger used across the framework. |
|
Package migrations implements a Laravel-style migration engine.
|
Package migrations implements a Laravel-style migration engine. |
|
Package orm provides an ActiveRecord-style Model, a fluent query builder, hooks, casts, soft-deletes, and relationships.
|
Package orm provides an ActiveRecord-style Model, a fluent query builder, hooks, casts, soft-deletes, and relationships. |
|
Package query provides a fluent, driver-aware SQL builder.
|
Package query provides a fluent, driver-aware SQL builder. |
|
Package relations implements model relationships with eager-loading.
|
Package relations implements model relationships with eager-loading. |
|
Package schema provides a fluent table-builder DSL (Blueprint) and a driver-agnostic Builder that compiles blueprints into SQL via a Grammar implementation provided by the database driver.
|
Package schema provides a fluent table-builder DSL (Blueprint) and a driver-agnostic Builder that compiles blueprints into SQL via a Grammar implementation provided by the database driver. |
|
Package seeder runs database seeders with dependency ordering and transactional execution.
|
Package seeder runs database seeders with dependency ordering and transactional execution. |
|
Package testing provides helpers for running migrations against an ephemeral SQLite database, useful for unit and integration tests.
|
Package testing provides helpers for running migrations against an ephemeral SQLite database, useful for unit and integration tests. |
Click to show internal directories.
Click to hide internal directories.