Skip to content

contributed tools and other packages on top of the Go proto package

License

Notifications You must be signed in to change notification settings

emicklei/proto-contrib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

proto-contrib

Packages and tools on top of https://github.com/emicklei/proto

usage of protofmt command

> protofmt -help
	Usage of protofmt [flags] [path ...]
	-w	write result to (source) files instead of stdout

See folder cmd/protofmt/README.md for more details.

usage of proto2xsd command

> proto2xsd -help
	Usage of proto2xsd [flags] [path ...]
	-ns string
		namespace of the target types (default "http://your.company.com/domain/version")

See folder cmd/proto2xsd/README.md for more details.

usage of proto2gql command

> proto2gql -help
    Usage of proto2gql [flags] [path ...]

    -filter string
        Regexp to filter out matched types
    -filterN string
        Regexp to filter out not matched types
    -go_out string
        Writes transformed files to .go file
    -js_out string
        Writes transformed files to .js file
    -no_prefix
        Disables package prefix for type names
    -package_alias value
        Renames packages using given aliases
    -resolve_import value
        Resolves given external packages
    -std_out
        Writes transformed files to stdout
    -txt_out string
        Writes transformed files to .graphql file

See folder cmd/proto2gql/README.md for more details.

usage of protodep command

> protodep v1/myservice.proto

v1/myservice.proto
v1/shared.proto
google/api/annotations.proto
google/api/http.proto
google/protobuf/descriptor.proto
google/protobuf/timestamp.proto

See README.md

usage of proto2avro command

proto2avro [filename].proto [message]

usage of protocompose command

See README.md

usage of proto2openapi command

WORK in progress

About

contributed tools and other packages on top of the Go proto package

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages