cosmosprotoc

package
v0.14.1-0...-8b31b97 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrProtocNotInstalled = errors.New("protoc is not installed")

ErrProtocNotInstalled is returned when protoc isn't installed on the system.

Functions

func Generate

func Generate(
	ctx context.Context,
	projectPath,
	gomodPath,
	protoPath string,
	protoThirdPartyPaths []string,
) error

Generate generates code from proto app's proto files. make sure that all paths are absolute.

func InstallDependencies

func InstallDependencies(ctx context.Context, appPath string) error

InstallDependencies installs protoc dependencies needed by Cosmos ecosystem.

Types

This section is empty.

Jump to

Keyboard shortcuts

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