Versions in this module Expand all Collapse all v0 v0.2.0 May 29, 2018 v0.1.0 Apr 11, 2018 Changes in this version + var DefaultExcludePrefixes = []string + type CompileConfig struct + AllowUnusedImports bool + IncludePaths []string + IncludeWellKnownTypes bool + ProtobufVersion string + type Config struct + Compile CompileConfig + DirPath string + ExcludePrefixes []string + Format FormatConfig + Gen GenConfig + Lint LintConfig + type ConfigProvider interface + Get func(filePath string) (Config, error) + GetExcludePrefixesForDir func(dirPath string) ([]string, error) + GetFilePathForDir func(dirPath string) (string, error) + GetForDir func(dirPath string) (Config, error) + func NewConfigProvider(options ...ConfigProviderOption) ConfigProvider + type ConfigProviderOption func(*configProvider) + func ConfigProviderWithLogger(logger *zap.Logger) ConfigProviderOption + type ExternalConfig struct + AllowUnusedImports bool + Excludes []string + Format struct{ ... } + Gen struct{ ... } + Lint struct{ ... } + NoDefaultExcludes bool + ProtocIncludeWKT bool + ProtocIncludes []string + ProtocVersion string + type FormatConfig struct + Indent string + RPCUseSemicolons bool + TrimNewline bool + type GenConfig struct + GoPluginOptions GenGoPluginOptions + Plugins []GenPlugin + type GenGoPluginOptions struct + ExtraModifiers map[string]string + ImportPath string + NoDefaultModifiers bool + type GenPlugin struct + Flags string + Name string + OutputPath OutputPath + Path string + Type GenPluginType + type GenPluginType int + const DefaultConfigFilename + const GenPluginTypeGo + const GenPluginTypeGogo + const GenPluginTypeNone + func ParseGenPluginType(s string) (GenPluginType, error) + func (g GenPluginType) IsGo() bool + func (g GenPluginType) IsGogo() bool + func (g GenPluginType) String() string + type LintConfig struct + ExcludeIDs []string + Group string + IDs []string + IgnoreIDToFilePaths map[string][]string + IncludeIDs []string + type OutputPath struct + AbsPath string + RelPath string