Documentation
¶
Overview ¶
Package sidekick provides functionality for automating code generation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CargoConfig ¶
type CargoConfig struct {
Package CargoPackage // `toml:"package"`
}
CargoConfig is the configuration for a cargo package.
type CargoPackage ¶
type CargoPackage struct {
Name string // `toml:"name"`
}
CargoPackage is a cargo package.
type CommandLine ¶
type CommandLine struct {
Command []string
ProjectRoot string
SpecificationFormat string
SpecificationSource string
ServiceConfig string
Source map[string]string
Output string
Language string
Codec map[string]string
UpdatedRoot string
DryRun bool
}
CommandLine Represents the arguments received from the command line.
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
internal
|
|
|
config
Package config provides functionality for working with the sidekick.toml configuration file.
|
Package config provides functionality for working with the sidekick.toml configuration file. |
|
external
Package external provides helper functions to work with external commands.
|
Package external provides helper functions to work with external commands. |
|
parser
Package parser reads specifications and converts them into the `genclient.API` model.
|
Package parser reads specifications and converts them into the `genclient.API` model. |
|
parser/svcconfig
serviceconfig contains helper functions to parse service config files.
|
serviceconfig contains helper functions to parse service config files. |
|
sample
Package sample provides sample data for testing.
|
Package sample provides sample data for testing. |
Click to show internal directories.
Click to hide internal directories.