Skip to content

Conversation

@sc0Vu
Copy link

@sc0Vu sc0Vu commented Jun 3, 2025

IMHO, the struct should look like this.

# empty props
type Car struct {
}

# inherit car
type Toyota struct {
    Car
}

# with properties
type Toyota struct {
    Car
    Weight int64
    Height int64
    Speed int64
}

In this PR, I fixed the generation procedure for struct in GO.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant