Skip to content

The API generates duplicate structs after importing files. #4880

@spzgy

Description

@spzgy

goctl version 1.8.3 darwin/amd64

The expected behavior is to generate the "type BaseMsgResp struct" in the types.go file. However, it has been generated multiple times in three files: publicuser.go, adminuser.go, and adminrbac.go, resulting in the error: "BaseMsgResp redeclared in this block".

Image

Image

Image

Image

Image

Image

Image

Image

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions