Directories
¶
| Path | Synopsis |
|---|---|
|
Package decorgen generates decorators: for each named interface, a Decorated<Name> type whose every operation — a method taking a context.Context first and returning an error last — runs through a decorate.Subject (the Exec every tier's Base embeds), named by the method, and whose other methods pass straight through.
|
Package decorgen generates decorators: for each named interface, a Decorated<Name> type whose every operation — a method taking a context.Context first and returning an error last — runs through a decorate.Subject (the Exec every tier's Base embeds), named by the method, and whose other methods pass straight through. |
|
cmd/decorgen
command
Command decorgen writes the decorators decorgen.Generate builds, for a go:generate directive:
|
Command decorgen writes the decorators decorgen.Generate builds, for a go:generate directive: |
Click to show internal directories.
Click to hide internal directories.