buf

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddArg

func AddArg(arg string) func(*bufArgs)

AddArg adds a simple argument.

func AddPaths

func AddPaths(paths []string) func(*bufArgs)

func Run

func Run(args ...Arg) error

Run runs the protoc CLI

Types

type Arg

type Arg func(*bufArgs)

Arg represents a protoc CLI argument

Jump to

Keyboard shortcuts

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