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
When tagalign is called on a struct with a member of the type defined in the same module, tagalign reports undefined.
undefined
e.g.: file: a.go
a.go
package model type A struct { AA int `json:"aa,omitempty"` AB int `json:"ab,omitempty"` }
file b.go
b.go
package model type B struct { BA int `json:"ba,omitempty"` AA A `json:"aa,omitempty"` }
tagalign called on b.go:
tagalign b.go -: # command-line-arguments ./b.go:5:5: undefined: A sandbox/align/internal/model/b.go:5:5: undefined: A tagalign: 2 errors during loading
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When tagalign is called on a struct with a member of the type defined in the same module, tagalign reports
undefined
.e.g.:
file:
a.go
file
b.go
tagalign called on b.go:
The text was updated successfully, but these errors were encountered: