Skip to content

Feature request: Optionally generate non-nested structs #14

@probonopd

Description

@probonopd

Right now zek generates nested structs, with one struct being nested in another.

The downside of this is that it is (apparently) not possible to attach methods to the nested struct.

Hence the question, can zek be extended to optionally generate non-nested structs?

Real-life code example:
https://github.com/probonopd/go-scribus/blob/48984ecccda9be0d30a4e7cb5be50670520f7dd2/scribus.go#L740-L748

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions