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

incorrect pkg used when importing pkg with the same name #979

Closed
helenimprint opened this issue Sep 22, 2023 · 1 comment
Closed

incorrect pkg used when importing pkg with the same name #979

helenimprint opened this issue Sep 22, 2023 · 1 comment
Labels
Bug Reports and/or fixes a bug Go Go language support

Comments

@helenimprint
Copy link

The proto file imports 2 proto files with the same file name
example

import customer/status/v1.proto
import product/status.proto

the generated validate.go file correctly import both protos

import status "customer/status"
import status1 "product/status"

However the file only uses status pkg and doesn't correctly use the status1 pkg

@helenimprint helenimprint changed the title incorrect pkg used when importing files with the same pkg name incorrect pkg used when importing pkg with the same name Sep 22, 2023
@rodaine rodaine added Bug Reports and/or fixes a bug Go Go language support labels Oct 3, 2023
@chrispine
Copy link
Contributor

Closing as duplicate of #787

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Reports and/or fixes a bug Go Go language support
Projects
None yet
Development

No branches or pull requests

3 participants