From 2048e0cedbfaf69db6e5baf31f025820a72e3471 Mon Sep 17 00:00:00 2001 From: Harsh-Git-Hub Date: Wed, 16 Feb 2022 13:56:35 -0800 Subject: [PATCH] Revert "Merge pull request #5 from BoltApp/policyTagFeature" This reverts commit 34b40613ea848d0740dfebdd90d95643aeb58908, reversing changes made to 3578bf0f7eeabebecac854c047acf96af957a25d. --- Makefile | 4 ++-- bq_field.proto | 4 ++-- bq_table.proto | 4 ++-- examples/test_table.proto | 2 +- go.mod | 2 +- main.go | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Makefile b/Makefile index 56d0b1e..ad9eaeb 100644 --- a/Makefile +++ b/Makefile @@ -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) @@ -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 diff --git a/bq_field.proto b/bq_field.proto index f1066b4..2bf55d3 100644 --- a/bq_field.proto +++ b/bq_field.proto @@ -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"; @@ -50,4 +50,4 @@ message BigQueryFieldOptions { extend google.protobuf.FieldOptions { // BigQuery field schema generation options. BigQueryFieldOptions bigquery = 1021; -} \ No newline at end of file +} diff --git a/bq_table.proto b/bq_table.proto index ad9e285..6596e45 100644 --- a/bq_table.proto +++ b/bq_table.proto @@ -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"; @@ -56,4 +56,4 @@ message BigQueryMessageOptions { // or ":RECORD:" for message types. // "NULLABLE" by default, different mode may be set via optional suffix ":" repeated string extra_fields = 3; -} \ No newline at end of file +} diff --git a/examples/test_table.proto b/examples/test_table.proto index 2fded33..178c7bf 100644 --- a/examples/test_table.proto +++ b/examples/test_table.proto @@ -30,4 +30,4 @@ message TestTable{ message EmptyMessage {} repeated EmptyMessage hasMessage = 4; -} \ No newline at end of file +} diff --git a/go.mod b/go.mod index fc1e8f6..e69b763 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/BoltApp/protoc-gen-bq-schema +module github.com/GoogleCloudPlatform/protoc-gen-bq-schema go 1.15 diff --git a/main.go b/main.go index e5ce4f0..7c668db 100644 --- a/main.go +++ b/main.go @@ -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"