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

Migration guide for 0.3.x 0.4.x #190

Open
fi0 opened this issue Apr 29, 2019 · 1 comment
Open

Migration guide for 0.3.x 0.4.x #190

fi0 opened this issue Apr 29, 2019 · 1 comment

Comments

@fi0
Copy link
Contributor

fi0 commented Apr 29, 2019

How do I migrate an app from 0.3.x to 0.4.x?

@izumin5210
Copy link
Owner

if you want to use Go Modules,

  1. Apply the following patch to grapi.toml
    • -  "./vendor/github.com/grpc-ecosystem/grpc-gateway",
      -  "./vendor/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis",
      +  '{{ module "github.com/grpc-ecosystem/grpc-gateway" }}',
      +  '{{ module "github.com/grpc-ecosystem/grpc-gateway" }}/third_party/googleapis',
  2. Run go mod init and go mod tidy
  3. Remove Gopkg.*

I will add a migration doc to README later. thanks!

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

No branches or pull requests

2 participants