gf
gf copied to clipboard
gf gen serive: The same package import to the same package with different aliases
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"
)