This website requires JavaScript.
Explore
Help
Sign In
mirror
/
protobuf-go
Watch
1
Star
0
Fork
0
You've already forked protobuf-go
mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced
2024-12-27 15:26:51 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
2dc6718b59
protobuf-go
/
.gitignore
5 lines
88 B
Plaintext
Raw
Normal View
History
Unescape
Escape
test.bash: use repo-local cache Use a local ".cache" directory in the repository root for the cache instead of a directory in /tmp. On many operating systems, files are arbitrarily purged as part of the OS' cleanup procedures, leading to obscure failures. Since the build cache is in the repo root, we adjust the invocation of gofmt to only act upon the set of Go files tracked by git. Change-Id: I10cd0ea0de3370ea25fcd3870451fb41c4204a4b Reviewed-on: https://go-review.googlesource.com/133875 Reviewed-by: Damien Neil <dneil@google.com>
2018-09-06 19:37:19 +00:00
.cache
test.bash: download dependencies Use module support in Go1.11 to download the exact version of dependencies as specified in the go.mod file, this is contrary to "go get -u", which grabs the latest version, making reproducible builds and tests difficult. In order for Go1.9 and Go1.10 to work, we also emit a vendor directory for pre-module support. Lastly, check whether the go.mod or go.sum files changed (by shelling to "git diff"). This provides protection in case a new dependency was added and the go.mod file was not updated. Change-Id: Iac4e9b224ca9188dc9e63be720f188bfb5ee56ef Reviewed-on: https://go-review.googlesource.com/127916 Reviewed-by: Bryan C. Mills <bcmills@google.com>
2018-08-04 07:17:53 +00:00
vendor
protogen, cmd/protoc-gen-go: initial commit Package protogen provides support for writing protoc plugins. A "plugin" in this case is a program run by protoc to generate output. The protoc-gen-go command is a protoc plugin to generate Go code. cmd/protoc-gen-go/golden_test.go is mostly a straight copy from the golden test in github.com/golang/protobuf. Change-Id: I332d0df1e4b60bb8cd926320b8721e16b99a4b71 Reviewed-on: https://go-review.googlesource.com/130175 Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
2018-08-15 18:24:18 +00:00
cmd/protoc-gen-go/protoc-gen-go
cmd/protoc-gen-go-grpc: add gRPC code generator This is a straight translation of the v1 API gRPC "plugin" to protogen. Add a protoc-gen-go-grpc command. The preferred way to generate gRPC services is to invoke both plugins separately: protoc --go_out=. --go-grpc_out=. foo.proto When invoked in this fashion, the generators will produce separate foo.pb.go and foo_grpc.pb.go files. Change-Id: Ie180385dab3da7063db96f7c2f9de3abbd749f63 Reviewed-on: https://go-review.googlesource.com/137037 Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
2018-09-21 22:03:34 +00:00
cmd/protoc-gen-go-grpc/protoc-gen-go-grpc
Reference in New Issue
Copy Permalink