Documentation
¶
Index ¶
- func AddModule(ctx context.Context, opts ModuleOptions, target string) (string, error)
- func EnsureConfig(opts ConfigOptions) (string, error)
- func ImportPathForGetTarget(target string) string
- func PackageNameForImportPath(importPath string) string
- func UpdateModules(ctx context.Context, opts ModuleOptions, targets []string) (string, error)
- type ConfigOptions
- type ListedPlugin
- type ModuleOptions
- type PluginOptions
- type PluginResult
- type WireOptions
- type WireResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureConfig ¶
func EnsureConfig(opts ConfigOptions) (string, error)
func ImportPathForGetTarget ¶
func UpdateModules ¶
Types ¶
type ConfigOptions ¶
type ListedPlugin ¶
func ListPlugins ¶
func ListPlugins(opts ConfigOptions) ([]ListedPlugin, error)
type ModuleOptions ¶
type PluginOptions ¶
type PluginResult ¶
func NewPlugin ¶
func NewPlugin(opts PluginOptions) (PluginResult, error)
type WireOptions ¶
type WireResult ¶
func WirePlugin ¶
func WirePlugin(opts WireOptions) (WireResult, error)
Click to show internal directories.
Click to hide internal directories.