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
string string `enum:"local,remote" meta:"new"`
erroneously renders:
// Remote" meta:"new returns the <no value> PartyType. func Remote" meta:"new() PartyType { return PartyType{ string: "remote" meta:"new", } }
The text was updated successfully, but these errors were encountered:
an easy fix ...
reflect.StructTag(structType.Tag(i)) structTagDDDKeyValue, ok := tag.Lookup(structTagDDDKey) /// then do regex match on this value
https://github.com/xoe-labs/go-generators/blob/666e9681d6121bce0a4e35a375c58e69ddd34b88/ddd-domain-gen/pkg/generate/main.go#L136-L140
Sorry, something went wrong.
Same goes for metatag, btw.
No branches or pull requests
erroneously renders:
The text was updated successfully, but these errors were encountered: