Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refine grpc code #1261

Merged
merged 2 commits into from
Jun 17, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions protocol/grpc/internal/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# internal

This internal package is for test. So don't use internal in production.

## require

- protoc
- protoc-gen-go: github.com/golang/protobuf/protoc-gen-go@v1.3.0
1 change: 0 additions & 1 deletion protocol/grpc/internal/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@
* limitations under the License.
*/

// just for test, never use internal for production.
package internal
165 changes: 120 additions & 45 deletions protocol/grpc/internal/helloworld.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ option java_package = "io.grpc.examples.helloworld";
option java_outer_classname = "HelloWorldProto";
option objc_class_prefix = "HLW";

package main;
package internal;

// The greeting service definition.
service Greeter {
Expand Down
Loading