Skip to content

Commit

Permalink
Revert "Merge pull request GoogleCloudPlatform#5 from BoltApp/policyT…
Browse files Browse the repository at this point in the history
…agFeature"

This reverts commit 34b4061, reversing
changes made to 3578bf0.
  • Loading branch information
Harsh-Git-Hub committed Feb 16, 2022
1 parent 34b4061 commit 2048e0c
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ $(BQ_PLUGIN): $(PROTO_GENFILES) goprotobuf glog
go build -o $@

$(PROTO_GENFILES): $(PROTO_SRC) $(GO_PLUGIN)
protoc -I . --plugin=$(GO_PLUGIN) --go_out=$(PKGMAP):protos $(PROTO_SRC)
protoc -I. -Ivendor/protobuf --plugin=$(GO_PLUGIN) --go_out=$(PKGMAP):protos $(PROTO_SRC)

goprotobuf:
go get $(PROTO_PKG)
Expand All @@ -51,6 +51,6 @@ realclean: distclean
rm -f $(PROTO_GENFILES)

examples: $(BQ_PLUGIN)
protoc -I . --plugin=$(BQ_PLUGIN) --bq-schema_out=examples $(EXAMPLES_PROTO)
protoc -I. -Ivendor/protobuf --plugin=$(BQ_PLUGIN) --bq-schema_out=examples $(EXAMPLES_PROTO)

.PHONY: goprotobuf glog
4 changes: 2 additions & 2 deletions bq_field.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
syntax = "proto3";
package gen_bq_schema;

option go_package = "github.com/BoltApp/protoc-gen-bq-schema/protos";
option go_package = "github.com/GoogleCloudPlatform/protoc-gen-bq-schema/protos";

import "google/protobuf/descriptor.proto";

Expand Down Expand Up @@ -50,4 +50,4 @@ message BigQueryFieldOptions {
extend google.protobuf.FieldOptions {
// BigQuery field schema generation options.
BigQueryFieldOptions bigquery = 1021;
}
}
4 changes: 2 additions & 2 deletions bq_table.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
syntax = "proto3";
package gen_bq_schema;

option go_package = "github.com/BoltApp/protoc-gen-bq-schema/protos";
option go_package = "github.com/GoogleCloudPlatform/protoc-gen-bq-schema/protos";

import "google/protobuf/descriptor.proto";

Expand Down Expand Up @@ -56,4 +56,4 @@ message BigQueryMessageOptions {
// or "<field name>:RECORD:<protobuf type>" for message types.
// "NULLABLE" by default, different mode may be set via optional suffix ":<mode>"
repeated string extra_fields = 3;
}
}
2 changes: 1 addition & 1 deletion examples/test_table.proto
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ message TestTable{
message EmptyMessage {}

repeated EmptyMessage hasMessage = 4;
}
}
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/BoltApp/protoc-gen-bq-schema
module github.com/GoogleCloudPlatform/protoc-gen-bq-schema

go 1.15

Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import (
"path"
"strings"

"github.com/BoltApp/protoc-gen-bq-schema/protos"
"github.com/GoogleCloudPlatform/protoc-gen-bq-schema/protos"

"github.com/golang/glog"

Expand Down

0 comments on commit 2048e0c

Please sign in to comment.