From aa6cd0f4917d2b5321e8b12f183eeb5e16196e41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oscar=20S=C3=B6derlund?= Date: Mon, 19 Sep 2022 07:49:22 +0200 Subject: [PATCH] feat(deps): bump versions --- .github/workflows/ci.yml | 2 + .github/workflows/release.yml | 2 + .sage/go.mod | 2 +- .sage/go.sum | 4 +- Makefile | 36 ++++++++-- go.mod | 32 ++++----- go.sum | 68 +++++++++---------- internal/examples/proto/Makefile | 34 ++++++++-- .../example/v1/example_annotations.pb.go | 2 +- .../example/v1/example_datetime.pb.go | 2 +- .../bigquery/example/v1/example_enum.pb.go | 2 +- .../bigquery/example/v1/example_list.pb.go | 2 +- .../bigquery/example/v1/example_map.pb.go | 2 +- .../bigquery/example/v1/example_oneof.pb.go | 4 +- .../example/v1/example_wrappers.pb.go | 2 +- .../public/v1/dogecoin_transaction.pb.go | 10 +-- .../bigquery/public/v1/film_location.pb.go | 4 +- .../public/v1/hacker_news_story.pb.go | 4 +- .../public/v1/historic_severe_storm.pb.go | 4 +- .../public/v1/london_bicycle_rental.pb.go | 4 +- .../public/v1/london_bicycle_station.pb.go | 6 +- .../v1/san_fransisco_transit_stop_time.pb.go | 4 +- .../public/v1/whos_on_first_geojson.pb.go | 4 +- 23 files changed, 141 insertions(+), 95 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9e23920..77cfa28 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,6 +10,8 @@ jobs: steps: - name: Setup Sage uses: einride/sage/actions/setup@master + with: + go-version: 1.19 - name: Make run: make diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6b2090b..bcc58a8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,6 +12,8 @@ jobs: steps: - name: Setup Sage uses: einride/sage/actions/setup@master + with: + go-version: 1.19 - name: Make run: make diff --git a/.sage/go.mod b/.sage/go.mod index 6858369..246da14 100644 --- a/.sage/go.mod +++ b/.sage/go.mod @@ -2,4 +2,4 @@ module sage go 1.17 -require go.einride.tech/sage v0.110.0 +require go.einride.tech/sage v0.161.0 diff --git a/.sage/go.sum b/.sage/go.sum index 31f9743..dcd3e4d 100644 --- a/.sage/go.sum +++ b/.sage/go.sum @@ -1,2 +1,2 @@ -go.einride.tech/sage v0.110.0 h1:Zi2Agix8cy02wVuBPspAmTUHK7XlKJJwztWaeQZ9uYU= -go.einride.tech/sage v0.110.0/go.mod h1:EzV5uciFX7/2ho8EKB5K9JghOfXIxlzs694b+Tkl5GQ= +go.einride.tech/sage v0.161.0 h1:TwWlU6djdEtL9dVOSsG9mXbI110I4+REIpZ5CH1/7dY= +go.einride.tech/sage v0.161.0/go.mod h1:EzV5uciFX7/2ho8EKB5K9JghOfXIxlzs694b+Tkl5GQ= diff --git a/Makefile b/Makefile index e6baed9..e76d1c7 100644 --- a/Makefile +++ b/Makefile @@ -3,19 +3,41 @@ .DEFAULT_GOAL := all -sagefile := .sage/bin/sagefile - -$(sagefile): .sage/go.mod .sage/*.go - @cd .sage && go mod tidy && go run . +cwd := $(dir $(realpath $(firstword $(MAKEFILE_LIST)))) +sagefile := $(abspath $(cwd)/.sage/bin/sagefile) + +# Setup Go. +go := $(shell command -v go 2>/dev/null) +export GOWORK ?= off +ifndef go +SAGE_GO_VERSION ?= 1.18.4 +export GOROOT := $(abspath $(cwd)/.sage/tools/go/$(SAGE_GO_VERSION)/go) +export PATH := $(PATH):$(GOROOT)/bin +go := $(GOROOT)/bin/go +os := $(shell uname | tr '[:upper:]' '[:lower:]') +arch := $(shell uname -m) +ifeq ($(arch),x86_64) +arch := amd64 +endif +$(go): + $(info installing Go $(SAGE_GO_VERSION)...) + @mkdir -p $(dir $(GOROOT)) + @curl -sSL https://go.dev/dl/go$(SAGE_GO_VERSION).$(os)-$(arch).tar.gz | tar xz -C $(dir $(GOROOT)) + @touch $(GOROOT)/go.mod + @chmod +x $(go) +endif + +.PHONY: $(sagefile) +$(sagefile): $(go) + @cd .sage && $(go) mod tidy && $(go) run . .PHONY: sage sage: - @git clean -fxq $(sagefile) @$(MAKE) $(sagefile) .PHONY: update-sage -update-sage: - @cd .sage && go get -d go.einride.tech/sage@latest && go mod tidy && go run . +update-sage: $(go) + @cd .sage && $(go) get -d go.einride.tech/sage@latest && $(go) mod tidy && $(go) run . .PHONY: clean-sage clean-sage: diff --git a/go.mod b/go.mod index f4c4bde..5d79847 100644 --- a/go.mod +++ b/go.mod @@ -1,32 +1,32 @@ module go.einride.tech/protobuf-bigquery -go 1.17 +go 1.19 require ( - cloud.google.com/go v0.103.0 - cloud.google.com/go/bigquery v1.37.0 - github.com/google/go-cmp v0.5.8 - go.einride.tech/aip v0.54.1 - golang.org/x/oauth2 v0.0.0-20220622183110-fd043fe589d2 - google.golang.org/api v0.90.0 - google.golang.org/genproto v0.0.0-20220802133213-ce4fa296bf78 - google.golang.org/protobuf v1.28.0 + cloud.google.com/go v0.104.0 + cloud.google.com/go/bigquery v1.41.0 + github.com/google/go-cmp v0.5.9 + go.einride.tech/aip v0.58.1 + golang.org/x/oauth2 v0.0.0-20220909003341-f21342109be1 + google.golang.org/api v0.96.0 + google.golang.org/genproto v0.0.0-20220916172020-2692e8806bfa + google.golang.org/protobuf v1.28.1 gotest.tools/v3 v3.3.0 ) require ( - cloud.google.com/go/compute v1.7.0 // indirect - cloud.google.com/go/iam v0.3.0 // indirect + cloud.google.com/go/compute v1.10.0 // indirect + cloud.google.com/go/iam v0.4.0 // indirect github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect github.com/golang/protobuf v1.5.2 // indirect github.com/google/uuid v1.3.0 // indirect github.com/googleapis/enterprise-certificate-proxy v0.1.0 // indirect - github.com/googleapis/gax-go/v2 v2.4.0 // indirect + github.com/googleapis/gax-go/v2 v2.5.1 // indirect go.opencensus.io v0.23.0 // indirect - golang.org/x/net v0.0.0-20220624214902-1bab6f366d9e // indirect - golang.org/x/sys v0.0.0-20220624220833-87e55d714810 // indirect + golang.org/x/net v0.0.0-20220909164309-bea034e7d591 // indirect + golang.org/x/sys v0.0.0-20220915200043-7b5979e65e41 // indirect golang.org/x/text v0.3.7 // indirect - golang.org/x/xerrors v0.0.0-20220609144429-65e65417b02f // indirect + golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect google.golang.org/appengine v1.6.7 // indirect - google.golang.org/grpc v1.48.0 // indirect + google.golang.org/grpc v1.49.0 // indirect ) diff --git a/go.sum b/go.sum index 5328e44..4b66cc7 100644 --- a/go.sum +++ b/go.sum @@ -28,30 +28,30 @@ cloud.google.com/go v0.97.0/go.mod h1:GF7l59pYBVlXQIBLx3a761cZ41F9bBH3JUlihCt2Ud cloud.google.com/go v0.99.0/go.mod h1:w0Xx2nLzqWJPuozYQX+hFfCSI8WioryfRDzkoI/Y2ZA= cloud.google.com/go v0.100.2/go.mod h1:4Xra9TjzAeYHrl5+oeLlzbM2k3mjVhZh4UqTZ//w99A= cloud.google.com/go v0.102.0/go.mod h1:oWcCzKlqJ5zgHQt9YsaeTY9KzIvjyy0ArmiBUgpQ+nc= -cloud.google.com/go v0.102.1/go.mod h1:XZ77E9qnTEnrgEOvr4xzfdX5TRo7fB4T2F4O6+34hIU= -cloud.google.com/go v0.103.0 h1:YXtxp9ymmZjlGzxV7VrYQ8aaQuAgcqxSy6YhDX4I458= -cloud.google.com/go v0.103.0/go.mod h1:vwLx1nqLrzLX/fpwSMOXmFIqBOyHsvHbnAdbGSJ+mKk= +cloud.google.com/go v0.104.0 h1:gSmWO7DY1vOm0MVU6DNXM11BWHHsTUmsC5cv1fuW5X8= +cloud.google.com/go v0.104.0/go.mod h1:OO6xxXdJyvuJPcEPBLN9BJPD+jep5G1+2U5B5gkRYtA= cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE= cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc= cloud.google.com/go/bigquery v1.5.0/go.mod h1:snEHRnqQbz117VIFhE8bmtwIDY80NLUZUMb4Nv6dBIg= cloud.google.com/go/bigquery v1.7.0/go.mod h1://okPTzCYNXSlb24MZs83e2Do+h+VXtc4gLoIoXIAPc= cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM77hZzJN/fQ= -cloud.google.com/go/bigquery v1.37.0 h1:Ju2eUxfPuwUodxQiUAjZ2rQ/182KQMFhfehQ7fqnrTc= -cloud.google.com/go/bigquery v1.37.0/go.mod h1:C3abDfeObLBF1Pw/R8XLLpikving5wpjneEpiqJ7OQ8= +cloud.google.com/go/bigquery v1.41.0 h1:n6s1iQaZhG/vSQE89eiGddcB257xN4KZbXhRYg9f80o= +cloud.google.com/go/bigquery v1.41.0/go.mod h1:elH/9DZQCszAdhNaVCt6yy1HuXfmCDvp9s9QNlnnnBA= cloud.google.com/go/compute v0.1.0/go.mod h1:GAesmwr110a34z04OlxYkATPBEfVhkymfTBXtfbBFow= cloud.google.com/go/compute v1.3.0/go.mod h1:cCZiE1NHEtai4wiufUhW8I8S1JKkAnhnQJWM7YD99wM= cloud.google.com/go/compute v1.5.0/go.mod h1:9SMHyhJlzhlkJqrPAc839t2BZFTSk6Jdj6mkzQJeu0M= cloud.google.com/go/compute v1.6.0/go.mod h1:T29tfhtVbq1wvAPo0E3+7vhgmkOYeXjhFvz/FMzPu0s= cloud.google.com/go/compute v1.6.1/go.mod h1:g85FgpzFvNULZ+S8AYq87axRKuf2Kh7deLqV/jJ3thU= -cloud.google.com/go/compute v1.7.0 h1:v/k9Eueb8aAJ0vZuxKMrgm6kPhCLZU9HxFU+AFDs9Uk= cloud.google.com/go/compute v1.7.0/go.mod h1:435lt8av5oL9P3fv1OEzSbSUe+ybHXGMPQHHZWZxy9U= +cloud.google.com/go/compute v1.10.0 h1:aoLIYaA1fX3ywihqpBk2APQKOo20nXsp1GEZQbx5Jk4= +cloud.google.com/go/compute v1.10.0/go.mod h1:ER5CLbMxl90o2jtNbGSbtfOpQKR0t15FOtRsugnLrlU= cloud.google.com/go/datacatalog v1.3.0 h1:3llKXv7cC1acsWjvWmG0NQQkYVSVgunMSfVk7h6zz8Q= -cloud.google.com/go/datacatalog v1.3.0/go.mod h1:g9svFY6tuR+j+hrTw3J2dNcmI0dzmSiyOzm8kpLq0a0= cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk= -cloud.google.com/go/iam v0.3.0 h1:exkAomrVUuzx9kWFI1wm3KI0uoDeUFPB4kKGzx6x+Gc= cloud.google.com/go/iam v0.3.0/go.mod h1:XzJPvDayI+9zsASAFO68Hk07u3z+f+JrT2xXNdp4bnY= +cloud.google.com/go/iam v0.4.0 h1:YBYU00SCDzZJdHqVc4I5d6lsklcYIjQZa1YmEz4jlSE= +cloud.google.com/go/iam v0.4.0/go.mod h1:cbaZxyScUhxl7ZAkNWiALgihfP75wS/fUsVNaa1r3vA= cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw= cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA= @@ -63,7 +63,6 @@ cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RX cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= cloud.google.com/go/storage v1.22.1/go.mod h1:S8N1cAStu7BOeFfE8KAQzmyyLkK8p/vmRq6kuBTW58Y= cloud.google.com/go/storage v1.23.0 h1:wWRIaDURQA8xxHguFCshYepGlrWIrbBnAmc7wfg07qY= -cloud.google.com/go/storage v1.23.0/go.mod h1:vOEEDNFnciUMhBeT6hsJIn3ieU5cFRmzeLgDvXzfIXc= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= @@ -149,8 +148,9 @@ github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/ github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= -github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= +github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/martian v2.1.0+incompatible h1:/CP5g8u/VJHijgedC/Legn3BAbAaWPgecwXBIDzw5no= github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= @@ -184,8 +184,9 @@ github.com/googleapis/gax-go/v2 v2.1.0/go.mod h1:Q3nei7sK6ybPYH7twZdmQpAd1MKb7pf github.com/googleapis/gax-go/v2 v2.1.1/go.mod h1:hddJymUZASv3XPyGkUpKj8pPO47Rmb0eJc8R6ouapiM= github.com/googleapis/gax-go/v2 v2.2.0/go.mod h1:as02EH8zWkzwUoLbBaFeQ+arQaj/OthfcblKl4IGNaM= github.com/googleapis/gax-go/v2 v2.3.0/go.mod h1:b8LNqSzNabLiUpXKkY7HAR5jr6bIT99EXz9pXxye9YM= -github.com/googleapis/gax-go/v2 v2.4.0 h1:dS9eYAjhrE2RjmzYw2XAPvcXfmcQLtFEQWn0CR82awk= github.com/googleapis/gax-go/v2 v2.4.0/go.mod h1:XOTVJ59hdnfJLIP/dh8n5CGryZR2LxK9wbMD5+iXC6c= +github.com/googleapis/gax-go/v2 v2.5.1 h1:kBRZU0PSuI7PspsSb/ChWoVResUcwNVIdpB049pKTiw= +github.com/googleapis/gax-go/v2 v2.5.1/go.mod h1:h6B0KMMFNtI2ddbGJn3T3ZbwkeT6yqEF02fYlzkUCyo= github.com/googleapis/go-type-adapters v1.0.0 h1:9XdMn+d/G57qq1s8dNc5IesGCXHf6V2HZ2JwRxfA2tA= github.com/googleapis/go-type-adapters v1.0.0/go.mod h1:zHW75FOG2aur7gAO2B+MLby+cLsWGBF62rFAi7WjWO4= github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw= @@ -199,14 +200,12 @@ github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+o github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= -github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= -github.com/stoewer/go-strcase v1.2.0/go.mod h1:IBiWB2sKIp3wVVQ3Y035++gc+knqhUQag1KpM8ahLw8= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= @@ -217,8 +216,8 @@ github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9de github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= -go.einride.tech/aip v0.54.1 h1:srys7sFWPixEqyOu0gWuZAC86p4UAnWJIQcA01Ys3R4= -go.einride.tech/aip v0.54.1/go.mod h1:tUzBlpbLzt0LbL2GcO7RHQyHdnVFK25KvfZ638MTbgk= +go.einride.tech/aip v0.58.1 h1:jDSPjf8leVHk7FpzzRN7bKVuBYOsLSuw7zi2qKJwveM= +go.einride.tech/aip v0.58.1/go.mod h1:UOWr40OXDbKKQCMFLRE/5rWkNLLreWejqeOCDYasNwg= go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= @@ -309,9 +308,9 @@ golang.org/x/net v0.0.0-20220325170049-de3da57026de/go.mod h1:CfG3xpIq0wQ8r1q4Su golang.org/x/net v0.0.0-20220412020605-290c469a71a5/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= golang.org/x/net v0.0.0-20220425223048-2871e0cb64e4/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= golang.org/x/net v0.0.0-20220607020251-c690dde0001d/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= -golang.org/x/net v0.0.0-20220617184016-355a448f1bc9/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= -golang.org/x/net v0.0.0-20220624214902-1bab6f366d9e h1:TsQ7F31D3bUCLeqPT0u+yjp1guoArKaNKmCr22PYgTQ= golang.org/x/net v0.0.0-20220624214902-1bab6f366d9e/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= +golang.org/x/net v0.0.0-20220909164309-bea034e7d591 h1:D0B/7al0LLrVC8aWF4+oxpv/m8bc7ViFfVS8/gXGdqI= +golang.org/x/net v0.0.0-20220909164309-bea034e7d591/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -332,8 +331,9 @@ golang.org/x/oauth2 v0.0.0-20220223155221-ee480838109b/go.mod h1:DAh4E804XQdzx2j golang.org/x/oauth2 v0.0.0-20220309155454-6242fa91716a/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc= golang.org/x/oauth2 v0.0.0-20220411215720-9780585627b5/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc= golang.org/x/oauth2 v0.0.0-20220608161450-d0670ef3b1eb/go.mod h1:jaDAt6Dkxork7LmZnYtzbRWj0W47D86a3TGe0YHBvmE= -golang.org/x/oauth2 v0.0.0-20220622183110-fd043fe589d2 h1:+jnHzr9VPj32ykQVai5DNahi9+NSp7yYuCsl5eAQtL0= -golang.org/x/oauth2 v0.0.0-20220622183110-fd043fe589d2/go.mod h1:jaDAt6Dkxork7LmZnYtzbRWj0W47D86a3TGe0YHBvmE= +golang.org/x/oauth2 v0.0.0-20220822191816-0ebed06d0094/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= +golang.org/x/oauth2 v0.0.0-20220909003341-f21342109be1 h1:lxqLZaMad/dJHMFZH0NiNpiEZI/nhgWhe4wgzpE+MuA= +golang.org/x/oauth2 v0.0.0-20220909003341-f21342109be1/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -404,9 +404,9 @@ golang.org/x/sys v0.0.0-20220502124256-b6088ccd6cba/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20220503163025-988cb79eb6c6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220610221304-9f5ed59c137d/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220615213510-4f61da869c0c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220624220833-87e55d714810 h1:rHZQSjJdAI4Xf5Qzeh2bBc5YJIkPFVM6oDtMFYmgws0= -golang.org/x/sys v0.0.0-20220624220833-87e55d714810/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220915200043-7b5979e65e41 h1:ohgcoMbSofXygzo6AD2I1kz3BFmW1QArPYTtwEM3UXc= +golang.org/x/sys v0.0.0-20220915200043-7b5979e65e41/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -479,8 +479,9 @@ golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8T golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20220411194840-2f41105eb62f/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20220517211312-f3a8303e98df/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= -golang.org/x/xerrors v0.0.0-20220609144429-65e65417b02f h1:uF6paiQQebLeSXkrTqHqz0MXhXXS1KgF41eUdBNvxK0= golang.org/x/xerrors v0.0.0-20220609144429-65e65417b02f/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= +golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 h1:H2TDz8ibqkAF6YGhCdN3jS9O0/s90v0rJh3X/OLHEUk= +golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= @@ -520,10 +521,8 @@ google.golang.org/api v0.75.0/go.mod h1:pU9QmyHLnzlpar1Mjt4IbapUCy8J+6HD6GeELN69 google.golang.org/api v0.78.0/go.mod h1:1Sg78yoMLOhlQTeF+ARBoytAcH1NNyyl390YMy6rKmw= google.golang.org/api v0.80.0/go.mod h1:xY3nI94gbvBrE0J6NHXhxOmW97HG7Khjkku6AFB3Hyg= google.golang.org/api v0.84.0/go.mod h1:NTsGnUFJMYROtiquksZHBWtHfeMC7iYthki7Eq3pa8o= -google.golang.org/api v0.85.0/go.mod h1:AqZf8Ep9uZ2pyTvgL+x0D3Zt0eoT9b5E8fmzfu6FO2g= -google.golang.org/api v0.86.0/go.mod h1:+Sem1dnrKlrXMR/X0bPnMWyluQe4RsNoYfmNLhOIkzw= -google.golang.org/api v0.90.0 h1:WMnUWAvihIClUYFNeFA69VTuR3duKS3IalMGDQcLvq8= -google.golang.org/api v0.90.0/go.mod h1:+Sem1dnrKlrXMR/X0bPnMWyluQe4RsNoYfmNLhOIkzw= +google.golang.org/api v0.96.0 h1:F60cuQPJq7K7FzsxMYHAUJSiXh2oKctHxBMbDygxhfM= +google.golang.org/api v0.96.0/go.mod h1:w7wJQLTM+wvQpNf5JyEcBoxK0RH7EDrh/L4qfsuJ13s= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= @@ -610,11 +609,9 @@ google.golang.org/genproto v0.0.0-20220518221133-4f43b3371335/go.mod h1:RAyBrSAP google.golang.org/genproto v0.0.0-20220523171625-347a074981d8/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4= google.golang.org/genproto v0.0.0-20220608133413-ed9918b62aac/go.mod h1:KEWEmljWE5zPzLBa/oHl6DaEt9LmfH6WtH1OHIvleBA= google.golang.org/genproto v0.0.0-20220616135557-88e70c0c3a90/go.mod h1:KEWEmljWE5zPzLBa/oHl6DaEt9LmfH6WtH1OHIvleBA= -google.golang.org/genproto v0.0.0-20220617124728-180714bec0ad/go.mod h1:KEWEmljWE5zPzLBa/oHl6DaEt9LmfH6WtH1OHIvleBA= google.golang.org/genproto v0.0.0-20220624142145-8cd45d7dbd1f/go.mod h1:KEWEmljWE5zPzLBa/oHl6DaEt9LmfH6WtH1OHIvleBA= -google.golang.org/genproto v0.0.0-20220628213854-d9e0b6570c03/go.mod h1:KEWEmljWE5zPzLBa/oHl6DaEt9LmfH6WtH1OHIvleBA= -google.golang.org/genproto v0.0.0-20220802133213-ce4fa296bf78 h1:QntLWYqZeuBtJkth3m/6DLznnI0AHJr+AgJXvVh/izw= -google.golang.org/genproto v0.0.0-20220802133213-ce4fa296bf78/go.mod h1:iHe1svFLAZg9VWz891+QbRMwUv9O/1Ww+/mngYeThbc= +google.golang.org/genproto v0.0.0-20220916172020-2692e8806bfa h1:VWkrxnAx2C2hirAP+W5ADU7e/+93Yhk//ioKd2XFyDI= +google.golang.org/genproto v0.0.0-20220916172020-2692e8806bfa/go.mod h1:0Nb8Qy+Sk5eDzHnzlStwW3itdNaWoZA5XeSG+R3JHSo= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= @@ -641,14 +638,13 @@ google.golang.org/grpc v1.39.0/go.mod h1:PImNr+rS9TWYb2O4/emRugxiyHZ5JyHW5F+RPnD google.golang.org/grpc v1.39.1/go.mod h1:PImNr+rS9TWYb2O4/emRugxiyHZ5JyHW5F+RPnDzfrE= google.golang.org/grpc v1.40.0/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34= google.golang.org/grpc v1.40.1/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34= -google.golang.org/grpc v1.43.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU= google.golang.org/grpc v1.44.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU= google.golang.org/grpc v1.45.0/go.mod h1:lN7owxKUQEqMfSyQikvvk5tf/6zMPsrK+ONuO11+0rQ= google.golang.org/grpc v1.46.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk= google.golang.org/grpc v1.46.2/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk= google.golang.org/grpc v1.47.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk= -google.golang.org/grpc v1.48.0 h1:rQOsyJ/8+ufEDJd/Gdsz7HG220Mh9HAhFHRGnIjda0w= -google.golang.org/grpc v1.48.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk= +google.golang.org/grpc v1.49.0 h1:WTLtQzmQori5FUH25Pq4WT22oCsv8USpQ+F6rqtsmxw= +google.golang.org/grpc v1.49.0/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= @@ -663,15 +659,15 @@ google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlba google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.28.0 h1:w43yiav+6bVFTBQFZX0r7ipe9JQ1QsbMgHwbBziscLw= google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= +google.golang.org/protobuf v1.28.1 h1:d0NfwRgPtno5B1Wa6L2DAG+KivqkdutMf1UhdNx175w= +google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.3/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gotest.tools/v3 v3.1.0/go.mod h1:fHy7eyTmJFO5bQbUsEGQ1v4m2J3Jz9eWL54TP2/ZuYQ= gotest.tools/v3 v3.3.0 h1:MfDY1b1/0xN1CyMlQDac0ziEy9zJQd9CXBRRDHw2jJo= gotest.tools/v3 v3.3.0/go.mod h1:Mcr9QNxkg0uMvy/YElmo4SpXgJKWgQvYrT7Kw5RzJ1A= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= diff --git a/internal/examples/proto/Makefile b/internal/examples/proto/Makefile index 2c35bad..683668d 100644 --- a/internal/examples/proto/Makefile +++ b/internal/examples/proto/Makefile @@ -3,19 +3,41 @@ .DEFAULT_GOAL := all -sagefile := ../../../.sage/bin/sagefile +cwd := $(dir $(realpath $(firstword $(MAKEFILE_LIST)))) +sagefile := $(abspath $(cwd)/../../../.sage/bin/sagefile) -$(sagefile): ../../../.sage/go.mod ../../../.sage/*.go - @cd ../../../.sage && go mod tidy && go run . +# Setup Go. +go := $(shell command -v go 2>/dev/null) +export GOWORK ?= off +ifndef go +SAGE_GO_VERSION ?= 1.18.4 +export GOROOT := $(abspath $(cwd)/../../../.sage/tools/go/$(SAGE_GO_VERSION)/go) +export PATH := $(PATH):$(GOROOT)/bin +go := $(GOROOT)/bin/go +os := $(shell uname | tr '[:upper:]' '[:lower:]') +arch := $(shell uname -m) +ifeq ($(arch),x86_64) +arch := amd64 +endif +$(go): + $(info installing Go $(SAGE_GO_VERSION)...) + @mkdir -p $(dir $(GOROOT)) + @curl -sSL https://go.dev/dl/go$(SAGE_GO_VERSION).$(os)-$(arch).tar.gz | tar xz -C $(dir $(GOROOT)) + @touch $(GOROOT)/go.mod + @chmod +x $(go) +endif + +.PHONY: $(sagefile) +$(sagefile): $(go) + @cd ../../../.sage && $(go) mod tidy && $(go) run . .PHONY: sage sage: - @git clean -fxq $(sagefile) @$(MAKE) $(sagefile) .PHONY: update-sage -update-sage: - @cd ../../../.sage && go get -d go.einride.tech/sage@latest && go mod tidy && go run . +update-sage: $(go) + @cd ../../../.sage && $(go) get -d go.einride.tech/sage@latest && $(go) mod tidy && $(go) run . .PHONY: clean-sage clean-sage: diff --git a/internal/examples/proto/gen/go/einride/bigquery/example/v1/example_annotations.pb.go b/internal/examples/proto/gen/go/einride/bigquery/example/v1/example_annotations.pb.go index 1ceeceb..110cd3f 100644 --- a/internal/examples/proto/gen/go/einride/bigquery/example/v1/example_annotations.pb.go +++ b/internal/examples/proto/gen/go/einride/bigquery/example/v1/example_annotations.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.0 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: einride/bigquery/example/v1/example_annotations.proto diff --git a/internal/examples/proto/gen/go/einride/bigquery/example/v1/example_datetime.pb.go b/internal/examples/proto/gen/go/einride/bigquery/example/v1/example_datetime.pb.go index cce8d35..a1326e5 100644 --- a/internal/examples/proto/gen/go/einride/bigquery/example/v1/example_datetime.pb.go +++ b/internal/examples/proto/gen/go/einride/bigquery/example/v1/example_datetime.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.0 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: einride/bigquery/example/v1/example_datetime.proto diff --git a/internal/examples/proto/gen/go/einride/bigquery/example/v1/example_enum.pb.go b/internal/examples/proto/gen/go/einride/bigquery/example/v1/example_enum.pb.go index a5098d5..de0d501 100644 --- a/internal/examples/proto/gen/go/einride/bigquery/example/v1/example_enum.pb.go +++ b/internal/examples/proto/gen/go/einride/bigquery/example/v1/example_enum.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.0 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: einride/bigquery/example/v1/example_enum.proto diff --git a/internal/examples/proto/gen/go/einride/bigquery/example/v1/example_list.pb.go b/internal/examples/proto/gen/go/einride/bigquery/example/v1/example_list.pb.go index a895f58..14625cb 100644 --- a/internal/examples/proto/gen/go/einride/bigquery/example/v1/example_list.pb.go +++ b/internal/examples/proto/gen/go/einride/bigquery/example/v1/example_list.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.0 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: einride/bigquery/example/v1/example_list.proto diff --git a/internal/examples/proto/gen/go/einride/bigquery/example/v1/example_map.pb.go b/internal/examples/proto/gen/go/einride/bigquery/example/v1/example_map.pb.go index 02922a6..4313fb2 100644 --- a/internal/examples/proto/gen/go/einride/bigquery/example/v1/example_map.pb.go +++ b/internal/examples/proto/gen/go/einride/bigquery/example/v1/example_map.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.0 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: einride/bigquery/example/v1/example_map.proto diff --git a/internal/examples/proto/gen/go/einride/bigquery/example/v1/example_oneof.pb.go b/internal/examples/proto/gen/go/einride/bigquery/example/v1/example_oneof.pb.go index 3d0426e..88921a1 100644 --- a/internal/examples/proto/gen/go/einride/bigquery/example/v1/example_oneof.pb.go +++ b/internal/examples/proto/gen/go/einride/bigquery/example/v1/example_oneof.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.0 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: einride/bigquery/example/v1/example_oneof.proto @@ -26,10 +26,12 @@ type ExampleOneof struct { unknownFields protoimpl.UnknownFields // Types that are assignable to OneofFields_1: + // // *ExampleOneof_OneofEmptyMessage_1 // *ExampleOneof_OneofBool_1 OneofFields_1 isExampleOneof_OneofFields_1 `protobuf_oneof:"oneof_fields_1"` // Types that are assignable to OneofFields_2: + // // *ExampleOneof_OneofEmptyMessage_2 // *ExampleOneof_OneofMessage OneofFields_2 isExampleOneof_OneofFields_2 `protobuf_oneof:"oneof_fields_2"` diff --git a/internal/examples/proto/gen/go/einride/bigquery/example/v1/example_wrappers.pb.go b/internal/examples/proto/gen/go/einride/bigquery/example/v1/example_wrappers.pb.go index e9227d6..e38fa5f 100644 --- a/internal/examples/proto/gen/go/einride/bigquery/example/v1/example_wrappers.pb.go +++ b/internal/examples/proto/gen/go/einride/bigquery/example/v1/example_wrappers.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.0 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: einride/bigquery/example/v1/example_wrappers.proto diff --git a/internal/examples/proto/gen/go/einride/bigquery/public/v1/dogecoin_transaction.pb.go b/internal/examples/proto/gen/go/einride/bigquery/public/v1/dogecoin_transaction.pb.go index ed72d39..8a1c7c1 100644 --- a/internal/examples/proto/gen/go/einride/bigquery/public/v1/dogecoin_transaction.pb.go +++ b/internal/examples/proto/gen/go/einride/bigquery/public/v1/dogecoin_transaction.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.0 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: einride/bigquery/public/v1/dogecoin_transaction.proto @@ -24,7 +24,7 @@ const ( // Protobuf schema for the BigQuery public table: // -// bigquery-public-data.crypto_dogecoin.transactions +// bigquery-public-data.crypto_dogecoin.transactions type DogecoinTransaction struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -42,11 +42,11 @@ type DogecoinTransaction struct { InputCount int64 `protobuf:"varint,10,opt,name=input_count,json=inputCount,proto3" json:"input_count,omitempty"` // INTEGER NULLABLE OutputCount int64 `protobuf:"varint,11,opt,name=output_count,json=outputCount,proto3" json:"output_count,omitempty"` // INTEGER NULLABLE // TOOD: Figure out if there's a common protobuf type for NUMERIC. - //string input_value = 12; // NUMERIC NULLABLE - //string output_value = 13; // NUMERIC NULLABLE + // string input_value = 12; // NUMERIC NULLABLE + // string output_value = 13; // NUMERIC NULLABLE IsCoinbase bool `protobuf:"varint,14,opt,name=is_coinbase,json=isCoinbase,proto3" json:"is_coinbase,omitempty"` // BOOLEAN NULLABLE // TOOD: Figure out if there's a common protobuf type for NUMERIC. - //string fee = 15; // NUMERIC NULLABLE + // string fee = 15; // NUMERIC NULLABLE Inputs []*DogecoinTransaction_Input `protobuf:"bytes,16,rep,name=inputs,proto3" json:"inputs,omitempty"` // RECORD REPEATED Outputs []*DogecoinTransaction_Output `protobuf:"bytes,17,rep,name=outputs,proto3" json:"outputs,omitempty"` // RECORD REPEATED } diff --git a/internal/examples/proto/gen/go/einride/bigquery/public/v1/film_location.pb.go b/internal/examples/proto/gen/go/einride/bigquery/public/v1/film_location.pb.go index f0a76a3..50f3b35 100644 --- a/internal/examples/proto/gen/go/einride/bigquery/public/v1/film_location.pb.go +++ b/internal/examples/proto/gen/go/einride/bigquery/public/v1/film_location.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.0 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: einride/bigquery/public/v1/film_location.proto @@ -22,7 +22,7 @@ const ( // Protobuf schema for the BigQuery public table: // -// bigquery-public-data.san_francisco_film_locations.film_locations +// bigquery-public-data.san_francisco_film_locations.film_locations type FilmLocation struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/internal/examples/proto/gen/go/einride/bigquery/public/v1/hacker_news_story.pb.go b/internal/examples/proto/gen/go/einride/bigquery/public/v1/hacker_news_story.pb.go index 26f3b8d..3b5c413 100644 --- a/internal/examples/proto/gen/go/einride/bigquery/public/v1/hacker_news_story.pb.go +++ b/internal/examples/proto/gen/go/einride/bigquery/public/v1/hacker_news_story.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.0 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: einride/bigquery/public/v1/hacker_news_story.proto @@ -23,7 +23,7 @@ const ( // Protobuf schema for the BigQuery public table: // -// bigquery-public-data.hacker_news.stories +// bigquery-public-data.hacker_news.stories type HackerNewsStory struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/internal/examples/proto/gen/go/einride/bigquery/public/v1/historic_severe_storm.pb.go b/internal/examples/proto/gen/go/einride/bigquery/public/v1/historic_severe_storm.pb.go index 7845254..9942b59 100644 --- a/internal/examples/proto/gen/go/einride/bigquery/public/v1/historic_severe_storm.pb.go +++ b/internal/examples/proto/gen/go/einride/bigquery/public/v1/historic_severe_storm.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.0 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: einride/bigquery/public/v1/historic_severe_storm.proto @@ -24,7 +24,7 @@ const ( // Protobuf schema for the BigQuery public table: // -// bigquery-public-data.noaa_historic_severe_storms.storms_* +// bigquery-public-data.noaa_historic_severe_storms.storms_* type HistoricSevereStorm struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/internal/examples/proto/gen/go/einride/bigquery/public/v1/london_bicycle_rental.pb.go b/internal/examples/proto/gen/go/einride/bigquery/public/v1/london_bicycle_rental.pb.go index 479261a..b693fc7 100644 --- a/internal/examples/proto/gen/go/einride/bigquery/public/v1/london_bicycle_rental.pb.go +++ b/internal/examples/proto/gen/go/einride/bigquery/public/v1/london_bicycle_rental.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.0 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: einride/bigquery/public/v1/london_bicycle_rental.proto @@ -24,7 +24,7 @@ const ( // Protobuf schema for the BigQuery public table: // -// bigquery-public-data.london_bicycles.cycle_hire +// bigquery-public-data.london_bicycles.cycle_hire type LondonBicycleRental struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/internal/examples/proto/gen/go/einride/bigquery/public/v1/london_bicycle_station.pb.go b/internal/examples/proto/gen/go/einride/bigquery/public/v1/london_bicycle_station.pb.go index 0fc91f9..85e76c1 100644 --- a/internal/examples/proto/gen/go/einride/bigquery/public/v1/london_bicycle_station.pb.go +++ b/internal/examples/proto/gen/go/einride/bigquery/public/v1/london_bicycle_station.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.0 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: einride/bigquery/public/v1/london_bicycle_station.proto @@ -23,7 +23,7 @@ const ( // Protobuf schema for the BigQuery public table: // -// bigquery-public-data.london_bicycles.cycle_stations +// bigquery-public-data.london_bicycles.cycle_stations type LondonBicycleStation struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -37,7 +37,7 @@ type LondonBicycleStation struct { Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` // STRING NULLABLE BikesCount int64 `protobuf:"varint,7,opt,name=bikes_count,json=bikesCount,proto3" json:"bikes_count,omitempty"` // INTEGER NULLABLE DocksCount int64 `protobuf:"varint,8,opt,name=docks_count,json=docksCount,proto3" json:"docks_count,omitempty"` // INTEGER NULLABLE - //int64 nbEmptyDocks = 9; // INTEGER NULLABLE + // int64 nbEmptyDocks = 9; // INTEGER NULLABLE Temporary bool `protobuf:"varint,10,opt,name=temporary,proto3" json:"temporary,omitempty"` // BOOLEAN NULLABLE TerminalName string `protobuf:"bytes,11,opt,name=terminal_name,json=terminalName,proto3" json:"terminal_name,omitempty"` // STRING NULLABLE InstallDate *date.Date `protobuf:"bytes,12,opt,name=install_date,json=installDate,proto3" json:"install_date,omitempty"` // DATE NULLABLE diff --git a/internal/examples/proto/gen/go/einride/bigquery/public/v1/san_fransisco_transit_stop_time.pb.go b/internal/examples/proto/gen/go/einride/bigquery/public/v1/san_fransisco_transit_stop_time.pb.go index a7c394b..6cb057a 100644 --- a/internal/examples/proto/gen/go/einride/bigquery/public/v1/san_fransisco_transit_stop_time.pb.go +++ b/internal/examples/proto/gen/go/einride/bigquery/public/v1/san_fransisco_transit_stop_time.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.0 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: einride/bigquery/public/v1/san_fransisco_transit_stop_time.proto @@ -23,7 +23,7 @@ const ( // Protobuf schema for the BigQuery public table: // -// bigquery-public-data.san_francisco_transit_muni.stop_times +// bigquery-public-data.san_francisco_transit_muni.stop_times type SanFransiscoTransitStopTime struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/internal/examples/proto/gen/go/einride/bigquery/public/v1/whos_on_first_geojson.pb.go b/internal/examples/proto/gen/go/einride/bigquery/public/v1/whos_on_first_geojson.pb.go index bd53218..c598cdb 100644 --- a/internal/examples/proto/gen/go/einride/bigquery/public/v1/whos_on_first_geojson.pb.go +++ b/internal/examples/proto/gen/go/einride/bigquery/public/v1/whos_on_first_geojson.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.0 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: einride/bigquery/public/v1/whos_on_first_geojson.proto @@ -24,7 +24,7 @@ const ( // Protobuf schema for the BigQuery public table: // -// bigquery-public-data.geo_whos_on_first.geojson +// bigquery-public-data.geo_whos_on_first.geojson type WhosOnFirstGeoJson struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache