Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
// PathsList is a comma-separated list of module or workspace directories to search.
// The first matching path wins for each requested import path.
PathsList string
// StructsList contains the fully-qualified target type names.
StructsList string
// OutputFile is where the generated code is written.
OutputFile string
// OutputPkg is the package name used in the generated file.
OutputPkg string
// IncludeEmbedded controls whether embedded methods are included.
IncludeEmbedded bool
// Prefix specify generated interfaces prefix
Prefix string
// Suffix specify generated interfaces suffix
Suffix string
}
Config stores the CLI options used to generate interfaces.
Click to show internal directories.
Click to hide internal directories.