tsproto

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package tsproto provides access to protoc-gen-ts_proto protoc plugin.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BinaryPath

func BinaryPath() (path string, cleanup func(), err error)

BinaryPath returns the path to the binary of the ts-proto plugin so it can be passed to protoc via --plugin option.

protoc is very picky about binary names of its plugins. for ts-proto, binary name will be protoc-gen-ts_proto. see why: https://github.com/stephenh/ts-proto/blob/7f76c05/README.markdown#quickstart.

Types

This section is empty.

Jump to

Keyboard shortcuts

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