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

gf gen serive: The same package import to the same package with different aliases #3492

Open
oldme-git opened this issue Apr 17, 2024 · 0 comments · May be fixed by #3488
Open

gf gen serive: The same package import to the same package with different aliases #3492

oldme-git opened this issue Apr 17, 2024 · 0 comments · May be fixed by #3488
Labels
bug It is confirmed a bug, but don't worry, we'll handle it.

Comments

@oldme-git
Copy link
Member

oldme-git commented Apr 17, 2024

What version of Go and system type/arch are you using?

None.

What version of GoFrame are you using?

Yes

Can this bug be re-produced with the latest release?
Yes

What did you do?

logic/article/v1/article.go

import (
	gdbalias "github.com/gogf/gf/v2/database/gdb"
)

logic/article/v1/article2.go

import (
	gdbas "github.com/gogf/gf/v2/database/gdb"
)

What did you expect to see?
service/article.go

import (
	gdbalias "github.com/gogf/gf/v2/database/gdb"
)

What did you see instead?

import (
	gdbas "github.com/gogf/gf/v2/database/gdb"
	gdbalias "github.com/gogf/gf/v2/database/gdb"
)
@oldme-git oldme-git added the bug It is confirmed a bug, but don't worry, we'll handle it. label Apr 17, 2024
oldme-git added a commit to oldme-git/gf that referenced this issue Apr 17, 2024
@oldme-git oldme-git linked a pull request Apr 17, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug It is confirmed a bug, but don't worry, we'll handle it.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant