Directories
¶
| Path | Synopsis |
|---|---|
|
adapters
|
|
|
parser/goast
Package goast implements ports.ExampleParser using go/parser, go/ast and go/format over the _test.go entries of a module zip.
|
Package goast implements ports.ExampleParser using go/parser, go/ast and go/format over the _test.go entries of a module zip. |
|
store/sqlite
Package sqlite implements ports.ExampleStore using a SQLite database via modernc.org/sqlite (pure Go, no CGO).
|
Package sqlite implements ports.ExampleStore using a SQLite database via modernc.org/sqlite (pure Go, no CGO). |
|
Package application contains the example-function harvesting use case: reading a module's zip from the blob store, scanning _test.go files for Example* functions, extracting their bodies and output comments via the Go AST, and persisting an ExampleRecord.
|
Package application contains the example-function harvesting use case: reading a module's zip from the blob store, scanning _test.go files for Example* functions, extracting their bodies and output comments via the Go AST, and persisting an ExampleRecord. |
|
Package domain defines the types and invariants for example-function harvesting.
|
Package domain defines the types and invariants for example-function harvesting. |
|
Package ports defines the interfaces the example application layer requires from the outside world.
|
Package ports defines the interfaces the example application layer requires from the outside world. |
Click to show internal directories.
Click to hide internal directories.