Skip to content
This repository has been archived by the owner on Apr 24, 2023. It is now read-only.

Commit

Permalink
add go package setting
Browse files Browse the repository at this point in the history
  • Loading branch information
sasaxie authored and huzhenyuan committed Apr 12, 2018
1 parent 303dd5d commit 7f1d31a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions api/api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import "core/Contract.proto";

option java_package = "org.tron.api"; //Specify the name of the package that generated the Java file
option java_outer_classname = "GrpcAPI"; //Specify the class name of the generated Java file
option go_package = "go-client-api/api";

service Wallet {

Expand Down
1 change: 1 addition & 0 deletions core/Discover.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ package protocol;

option java_package = "org.tron.protos"; //Specify the name of the package that generated the Java file
option java_outer_classname = "Discover"; //Specify the class name of the generated Java file
option go_package = "go-client-api/core";

message Endpoint {
bytes address = 1;
Expand Down
1 change: 1 addition & 0 deletions core/Tron.proto
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ package protocol;

option java_package = "org.tron.protos"; //Specify the name of the package that generated the Java file
option java_outer_classname = "Protocol"; //Specify the class name of the generated Java file
option go_package = "go-client-api/core";


enum AccountType {
Expand Down
1 change: 1 addition & 0 deletions core/TronInventoryItems.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ package protocol;

option java_package = "org.tron.protos"; //Specify the name of the package that generated the Java file
option java_outer_classname = "TronInventoryItems"; //Specify the class name of the generated Java file
option go_package = "go-client-api/core";

message InventoryItems {
int32 type = 1;
Expand Down

0 comments on commit 7f1d31a

Please sign in to comment.