We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi! Thanks for the great library! I would like to generate an embedded struct like the following.
type Some struct { str string } type Any struct { Some }
When I generate this Any structure, I expected to write something like this
Any structure
_ := generator.NewStruct("Any").AddField("", "Some")
I think the struct may be generated with the type information. So does removing the following line fit with your idea?
gowrtr/generator/struct.go
Lines 63 to 65 in 07420ca
Thanks.
The text was updated successfully, but these errors were encountered:
It looks like a good feature proposal. I'm going to work on this.
Sorry, something went wrong.
moznion
No branches or pull requests
Hi! Thanks for the great library!
I would like to generate an embedded struct like the following.
When I generate this
Any structure
, I expected to write something like thisI think the struct may be generated with the type information.
So does removing the following line fit with your idea?
gowrtr/generator/struct.go
Lines 63 to 65 in 07420ca
Thanks.
The text was updated successfully, but these errors were encountered: