Skip to content

Commit

Permalink
feat: Add java_multiple_files option in proto files (#168)
Browse files Browse the repository at this point in the history
  • Loading branch information
gyuguen authored Jul 8, 2021
1 parent ebe7145 commit 59c47cd
Show file tree
Hide file tree
Showing 17 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions proto/panacea/aol/v2/genesis.proto
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import "panacea/aol/v2/record.proto";
import "panacea/aol/v2/writer.proto";
import "panacea/aol/v2/topic.proto";

option java_multiple_files = true;
option go_package = "github.com/medibloc/panacea-core/x/aol/types";

// GenesisState defines the aol module's genesis state.
Expand Down
1 change: 1 addition & 0 deletions proto/panacea/aol/v2/owner.proto
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
syntax = "proto3";
package panacea.aol.v2;

option java_multiple_files = true;
option go_package = "github.com/medibloc/panacea-core/x/aol/types";

import "gogoproto/gogo.proto";
Expand Down
1 change: 1 addition & 0 deletions proto/panacea/aol/v2/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import "panacea/aol/v2/record.proto";
import "panacea/aol/v2/writer.proto";
import "panacea/aol/v2/topic.proto";

option java_multiple_files = true;
option go_package = "github.com/medibloc/panacea-core/x/aol/types";

// Query defines the gRPC querier service.
Expand Down
1 change: 1 addition & 0 deletions proto/panacea/aol/v2/record.proto
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
syntax = "proto3";
package panacea.aol.v2;

option java_multiple_files = true;
option go_package = "github.com/medibloc/panacea-core/x/aol/types";

import "gogoproto/gogo.proto";
Expand Down
1 change: 1 addition & 0 deletions proto/panacea/aol/v2/topic.proto
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
syntax = "proto3";
package panacea.aol.v2;

option java_multiple_files = true;
option go_package = "github.com/medibloc/panacea-core/x/aol/types";

import "gogoproto/gogo.proto";
Expand Down
1 change: 1 addition & 0 deletions proto/panacea/aol/v2/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package panacea.aol.v2;

// this line is used by starport scaffolding # proto/tx/import

option java_multiple_files = true;
option go_package = "github.com/medibloc/panacea-core/x/aol/types";

// Msg defines the Msg service.
Expand Down
1 change: 1 addition & 0 deletions proto/panacea/aol/v2/writer.proto
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
syntax = "proto3";
package panacea.aol.v2;

option java_multiple_files = true;
option go_package = "github.com/medibloc/panacea-core/x/aol/types";

import "gogoproto/gogo.proto";
Expand Down
1 change: 1 addition & 0 deletions proto/panacea/burn/v2/genesis.proto
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
syntax = "proto3";
package panacea.burn.v2;

option java_multiple_files = true;
option go_package = "github.com/medibloc/panacea-core/x/burn/types";

// GenesisState defines the burn module's genesis state.
Expand Down
1 change: 1 addition & 0 deletions proto/panacea/burn/v2/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import "google/api/annotations.proto";
import "cosmos/base/query/v1beta1/pagination.proto";
// this line is used by starport scaffolding # 1

option java_multiple_files = true;
option go_package = "github.com/medibloc/panacea-core/x/burn/types";

// Query defines the gRPC querier service.
Expand Down
1 change: 1 addition & 0 deletions proto/panacea/did/v2/did.proto
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
syntax = "proto3";
package panacea.did.v2;

option java_multiple_files = true;
option go_package = "github.com/medibloc/panacea-core/x/did/types";

import "gogoproto/gogo.proto";
Expand Down
1 change: 1 addition & 0 deletions proto/panacea/did/v2/genesis.proto
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
syntax = "proto3";
package panacea.did.v2;

option java_multiple_files = true;
option go_package = "github.com/medibloc/panacea-core/x/did/types";

import "panacea/did/v2/did.proto";
Expand Down
1 change: 1 addition & 0 deletions proto/panacea/did/v2/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import "cosmos/base/query/v1beta1/pagination.proto";
// this line is used by starport scaffolding # 1
import "panacea/did/v2/did.proto";

option java_multiple_files = true;
option go_package = "github.com/medibloc/panacea-core/x/did/types";

// Query defines the gRPC querier service.
Expand Down
1 change: 1 addition & 0 deletions proto/panacea/did/v2/tx.proto
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
syntax = "proto3";
package panacea.did.v2;

option java_multiple_files = true;
option go_package = "github.com/medibloc/panacea-core/x/did/types";

import "gogoproto/gogo.proto";
Expand Down
1 change: 1 addition & 0 deletions proto/panacea/token/v2/genesis.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ package panacea.token.v2;
// this line is used by starport scaffolding # genesis/proto/import
import "panacea/token/v2/token.proto";

option java_multiple_files = true;
option go_package = "github.com/medibloc/panacea-core/x/token/types";

// GenesisState defines the token module's genesis state.
Expand Down
1 change: 1 addition & 0 deletions proto/panacea/token/v2/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import "cosmos/base/query/v1beta1/pagination.proto";
// this line is used by starport scaffolding # 1
import "panacea/token/v2/token.proto";

option java_multiple_files = true;
option go_package = "github.com/medibloc/panacea-core/x/token/types";

// Query defines the gRPC querier service.
Expand Down
1 change: 1 addition & 0 deletions proto/panacea/token/v2/token.proto
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
syntax = "proto3";
package panacea.token.v2;

option java_multiple_files = true;
option go_package = "github.com/medibloc/panacea-core/x/token/types";

import "gogoproto/gogo.proto";
Expand Down
1 change: 1 addition & 0 deletions proto/panacea/token/v2/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import "cosmos/base/v1beta1/coin.proto";

// this line is used by starport scaffolding # proto/tx/import

option java_multiple_files = true;
option go_package = "github.com/medibloc/panacea-core/x/token/types";

// Msg defines the Msg service.
Expand Down

0 comments on commit 59c47cd

Please sign in to comment.