protoc-gen-tart

command module
v0.0.0-...-7044529 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

README

protoc-gen-tart

protoc-gen-tart relies on files generated by protoc-gen-dart, please install both.

Install

protoc-gen-tart
  1. Download binary from release page and place into a folder included in $PATH
    or
  2. (with go installed) go install github.com/syncapod/tart/protoc-gen-tart@latest
protoc-gen-dart

Click here for installation instructions

Run

protoc --tart_out=paths=source_relative:./PATH_TO_GENERATE \
	--dart_out=./PATH_TO_GENERATE \
	-I ./PROTO_DIR \
	./PROTO_DIR/*.proto

I would also recommend adding dart format path/to/generated/files as the generate code does not come out properly formatted

Example

Example

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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