Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
golite
command
Command golite creates a new project from one of golite's samples.
|
Command golite creates a new project from one of golite's samples. |
|
Package colorlog provides a color handler for slog.
|
Package colorlog provides a color handler for slog. |
|
cmd/colorlog
command
|
|
|
Package conv converts between the values sqlc reads from SQLite and their API representations: int64 row IDs and string IDs, sql.Null* columns and pointers, 0/1 integers and bools, and unix-second integers and times.
|
Package conv converts between the values sqlc reads from SQLite and their API representations: int64 row IDs and string IDs, sql.Null* columns and pointers, 0/1 integers and bools, and unix-second integers and times. |
|
Package migrate applies numbered, forward-only SQL migration files to a SQLite database.
|
Package migrate applies numbered, forward-only SQL migration files to a SQLite database. |
|
samples
|
|
|
server
command
Command server is an example app wiring up the golite packages: config from .env / env vars / flags, a colored logger, SQLite with migrations, a River job queue with RiverUI, and a small JSON API.
|
Command server is an example app wiring up the golite packages: config from .env / env vars / flags, a colored logger, SQLite with migrations, a River job queue with RiverUI, and a small JSON API. |
|
server/migrations
Package migrations embeds the app's SQL migrations into the binary.
|
Package migrations embeds the app's SQL migrations into the binary. |
|
Package server runs an HTTP server with graceful shutdown and, optionally, a River job queue backed by the same SQLite database.
|
Package server runs an HTTP server with graceful shutdown and, optionally, a River job queue backed by the same SQLite database. |
|
Package stripehook receives Stripe webhooks into SQLite.
|
Package stripehook receives Stripe webhooks into SQLite. |
|
cmd/stripeschema
command
Command stripeschema writes stripehook.Schema, the stripe_event and stripe_object tables, to a file for sqlc.
|
Command stripeschema writes stripehook.Schema, the stripe_event and stripe_object tables, to a file for sqlc. |
|
Command tailwind runs golite's pinned Tailwind CSS standalone CLI, downloading it into ./bin on first use.
|
Command tailwind runs golite's pinned Tailwind CSS standalone CLI, downloading it into ./bin on first use. |
|
Package tenant gives each tenant of a multi-tenant app its own SQLite database file.
|
Package tenant gives each tenant of a multi-tenant app its own SQLite database file. |
Click to show internal directories.
Click to hide internal directories.