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

templates: add missing google.golang.org/grpc/status import #59

Merged

Conversation

zchee
Copy link
Contributor

@zchee zchee commented Jan 12, 2021

templates: add missing google.golang.org/grpc/status import.

yo_db.go uses google.golang.org/grpc/status package but templates/yo_package.go.tpl haven't it.


Just in case, run

docker container run --rm --name spanner-emulator -p 127.0.0.1:9010:9010/tcp -p 127.0.0.1:9020:9020/tcp -e GRPC_GO_LOG_SEVERITY_LEVEL=INFO -e GRPC_GO_LOG_VERBOSITY_LEVEL=99 gcr.io/cloud-spanner-emulator/emulator:1.0.0 ./gateway_main -copy_emulator_stderr -copy_emulator_stdout -log_requests -hostname 0.0.0.0 -grpc_port 9010 -http_port 9020

and make test passes.

@kazegusuri kazegusuri merged commit 07ed19d into cloudspannerecosystem:master Jan 13, 2021
@zchee zchee deleted the fix-template-grpc_status branch January 13, 2021 14:19
zchee added a commit to zchee/cloudspannerecosystem-yo that referenced this pull request Mar 1, 2021
…nnerecosystem#59)

* templates: add missing google.golang.org/grpc/status import

* templates: sort import section

* tplbin: regen templates.go
zchee added a commit to zchee/cloudspannerecosystem-yo that referenced this pull request Mar 1, 2021
…nnerecosystem#59)

* templates: add missing google.golang.org/grpc/status import

* templates: sort import section

* tplbin: regen templates.go
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants