Skip to content

cmd/gf: The import package path of the file generated after executing gf gen service is incorrect #4242

Open
@jdxj

Description

@jdxj

Go version

go version go1.24.2 darwin/amd64

GoFrame version

v2.9.0

Can this bug be reproduced with the latest release?

Option Yes

What did you do?

Execute gf gen service command

What did you see happen?

In the generated service/xxx.go file, github.com/minio/minio-go is imported

What did you expect to see?

Expect to import github.com/minio/minio-go/v7

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIt is confirmed a bug, but don't worry, we'll handle it.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions