New issue

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

cmd/vet: handle embedded fields in structtags check #8205

Open
josharian opened this Issue Jun 14, 2014 · 3 comments

Comments

Projects
None yet
6 participants
@josharian
Contributor

josharian commented Jun 14, 2014

The change at https://code.google.com/p/go/source/detail?r=dfa149f4c2fc&;repo=tools
may need to be updated after issue #7363 is resolved.

Marking Go1.4 to match issue #7363.
@rsc

This comment has been minimized.

Contributor

rsc commented Sep 15, 2014

Comment 1:

Labels changed: added release-go1.5, removed release-go1.4.

@bradfitz bradfitz modified the milestone: Go1.5 Dec 16, 2014

@bradfitz bradfitz removed the release-go1.5 label Dec 16, 2014

@rsc rsc removed accepted labels Apr 14, 2015

@rsc rsc changed the title from cmd/vet: update structtags check after issue 7363 is resolved to x/tools/cmd/vet: update structtags check after issue 7363 is resolved Apr 14, 2015

@rsc rsc modified the milestones: Unreleased, Go1.5 Apr 14, 2015

@rsc rsc removed the repo-tools label Apr 14, 2015

@dominikh

This comment has been minimized.

Member

dominikh commented Nov 29, 2016

What's the status of this issue? The two referenced issues are closed and Go 1.4 has long passed.

@ianlancetaylor

This comment has been minimized.

Contributor

ianlancetaylor commented Nov 29, 2016

The change that @josharian is referring to is https://golang.org/cl/91010047 (this is why you should also use CL numbers, not specific revision references).

As far as I can see nothing has changed, and this issue has not been addressed. Currently the test ignores embedded types. It should probably walk through the fields of embedded types recursively.

@ianlancetaylor ianlancetaylor changed the title from x/tools/cmd/vet: update structtags check after issue 7363 is resolved to cmd/vet: update structtags check for issue 7363 Nov 29, 2016

@ianlancetaylor ianlancetaylor modified the milestones: Go1.9, Unreleased Nov 29, 2016

@rsc rsc changed the title from cmd/vet: update structtags check for issue 7363 to cmd/vet: handle embedded fields in structtags check Jun 22, 2017

@rsc rsc modified the milestones: Go1.10, Go1.9 Jun 22, 2017

@rsc rsc modified the milestones: Go1.10, Go1.11 Nov 22, 2017

@gopherbot gopherbot modified the milestones: Go1.11, Unplanned May 23, 2018

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