config

package
v0.0.0-...-2d2a31e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 12, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// project name for the build tools
	ProjectName string `yaml:"projectName"`

	// input directory for the proto files
	InDir string `yaml:"inDir"`

	// output directory for the generated code
	OutDir string `yaml:"outDir"`

	// force generation of code even if no changes are detected
	ForceGeneration bool `yaml:"forceGeneration"`

	// languages to generate code for
	Languages map[Name]*Language `yaml:"languages"`

	Modules []*Module
}

func ParseConfig

func ParseConfig(configPath string) *Config

func (*Config) AnyModuleChanged

func (c *Config) AnyModuleChanged() bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL