protobuild

package
v0.0.29 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2025 License: MIT Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main

func Main() *cli.Command

Types

type Config added in v0.0.21

type Config struct {
	Checksum   string         `yaml:"checksum,omitempty" hash:"-"`
	Vendor     string         `yaml:"vendor,omitempty"`
	BasePlugin *basePluginCfg `yaml:"base,omitempty" hash:"-"`

	// Root path, default is proto path
	// source path
	Root []string `yaml:"root,omitempty" hash:"-"`

	// Includes protoc include path, default is proto path and .proto path
	Includes []string  `yaml:"includes,omitempty" hash:"-"`
	Excludes []string  `yaml:"excludes,omitempty" hash:"-"`
	Depends  []*depend `yaml:"deps,omitempty"`
	Plugins  []*plugin `yaml:"plugins,omitempty" hash:"-"`

	Installers []string             `yaml:"installers,omitempty" hash:"-"`
	Linter     linters.LinterConfig `yaml:"linter,omitempty" hash:"-"`
	// contains filtered or unexported fields
}

type YamlListType added in v0.0.24

type YamlListType[T any] []T

func (*YamlListType[T]) UnmarshalYAML added in v0.0.24

func (p *YamlListType[T]) UnmarshalYAML(value *yaml.Node) error

Jump to

Keyboard shortcuts

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