go2proto

command module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 14, 2020 License: MIT Imports: 13 Imported by: 0

README

go2proto

Generate Protobuf messages from given go structs. No RPC, not gogo syntax, just pure Protobuf messages.

Forked from github.com/anjmao/go2proto

Example
GO111MODULE=off go get -u github.com/emarcey/go2proto
go2proto -f ${PWD}/example/out -p github.com/emarcey/go2proto/example/in
Configuration
  • -f: directory of go files to convert to proto messages
  • -p: target directory for output proto
  • filter: if set, excludes all structs not containing this string
  • -c: current proto, path of existing version of proto to use for diff

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
example
in

Jump to

Keyboard shortcuts

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