Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
anetos
command
Command anetos is Anetos's developer tool.
|
Command anetos is Anetos's developer tool. |
|
internal
|
|
|
devserver
Package devserver implements `anetos dev`: it watches the project, regenerates code (templ, anetos gen), rebuilds and restarts the app on every change, and serves it through a reverse proxy on a stable address that reloads open pages when the new version is up, or shows the build error.
|
Package devserver implements `anetos dev`: it watches the project, regenerates code (templ, anetos gen), rebuilds and restarts the app on every change, and serves it through a reverse proxy on a stable address that reloads open pages when the new version is up, or shows the build error. |
|
modelgen
Package modelgen implements `anetos gen`: it finds the models in Go packages and writes a models_gen.go file declaring their typed columns.
|
Package modelgen implements `anetos gen`: it finds the models in Go packages and writes a models_gen.go file declaring their typed columns. |
|
modelgen/internal/fixture
Package fixture holds models covering the column rules of the db package.
|
Package fixture holds models covering the column rules of the db package. |
|
modelgen/internal/fixture/conflict
Package conflict declares package-level names that the generated file's imports must avoid.
|
Package conflict declares package-level names that the generated file's imports must avoid. |
|
scaffold
Package scaffold creates Anetos projects (anetos new) and adds files to them (anetos make:*), from the templates embedded in this package.
|
Package scaffold creates Anetos projects (anetos new) and adds files to them (anetos make:*), from the templates embedded in this package. |
|
testmod
Package testmod writes the go.mod and go.sum of temporary modules that tests build against the core module of this repository.
|
Package testmod writes the go.mod and go.sum of temporary modules that tests build against the core module of this repository. |
Click to show internal directories.
Click to hide internal directories.