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

feat: Add configuration to generate protos for Go. #573

Merged
merged 5 commits into from
Aug 5, 2024
Merged
Show file tree
Hide file tree
Changes from 2 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
5 changes: 4 additions & 1 deletion buf.gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,7 @@ plugins:
# Cpp
- remote: buf.build/protocolbuffers/cpp:v27.1
out: cpp/proto
# Java code well be generated by maven plugin
# Go
SemyonSinchenko marked this conversation as resolved.
Show resolved Hide resolved
- remote: buf.build/protocolbuffers/go
out: go/proto
# Java (disabled for buf): Code will be generated by maven plugin
1 change: 1 addition & 0 deletions format/adjacent_list.proto
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ syntax = "proto3";
package graphar;
option java_multiple_files = true;
option java_package = "org.apache.graphar.proto";
option go_package = "./graphar";

import "enums.proto";

Expand Down
1 change: 1 addition & 0 deletions format/edge_info.proto
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ syntax = "proto3";
package graphar;
option java_multiple_files = true;
option java_package = "org.apache.graphar.proto";
option go_package = "./graphar";

import "property_group.proto";
import "adjacent_list.proto";
Expand Down
1 change: 1 addition & 0 deletions format/enums.proto
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ syntax = "proto3";
package graphar;
option java_multiple_files = true;
option java_package = "org.apache.graphar.proto";
option go_package = "./graphar";

enum DataType {
BOOL = 0;
Expand Down
1 change: 1 addition & 0 deletions format/graph_info.proto
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ syntax = "proto3";
package graphar;
option java_multiple_files = true;
option java_package = "org.apache.graphar.proto";
option go_package = "./graphar";

import "vertex_info.proto";
import "edge_info.proto";
Expand Down
1 change: 1 addition & 0 deletions format/property_group.proto
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ syntax = "proto3";
package graphar;
option java_multiple_files = true;
option java_package = "org.apache.graphar.proto";
option go_package = "./graphar";

import "enums.proto";

Expand Down
1 change: 1 addition & 0 deletions format/vertex_info.proto
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ syntax = "proto3";
package graphar;
option java_multiple_files = true;
option java_package = "org.apache.graphar.proto";
option go_package = "./graphar";

import "property_group.proto";

Expand Down
Loading