Versions in this module Expand all Collapse all v0 v0.1.1 Jan 2, 2019 Changes in this version + var WrapperSet = wire.NewSet(ProvideBingenConfig, ProvideToolRepository, NewWrapper) + func ProvideBingenConfig(fs afero.Fs, execer exec.Interface, io io.IO, rootDir cli.RootDir) *bingen.Config + func ProvideToolRepository(binCfg *bingen.Config) (tool.Repository, error) + type Config struct + ImportDirs []string + OutDir string + Plugins []*Plugin + ProtosDir string + func (c *Config) Commands(rootDir, protoPath string) ([][]string, error) + func (c *Config) OutDirOf(rootDir string, protoPath string) (string, error) + func (c *Config) ProtoFiles(fs afero.Fs, rootDir string) ([]string, error) + type Plugin struct + Args map[string]interface{} + Name string + func (p *Plugin) BinName() string + type Wrapper interface + Exec func(context.Context) error + func NewWrapper(cfg *Config, fs afero.Fs, execer exec.Interface, ui cli.UI, ...) Wrapper