gf icon indicating copy to clipboard operation
gf copied to clipboard

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

Open oldme-git opened this issue 1 year ago • 0 comments

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 avatar Apr 17 '24 08:04 oldme-git