Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
go/types/gotype: build tags not supported #23463
What version of Go are you using (
This seems like a fine addition, but note that
So perhaps it lacks some of these features on purpose, if it's meant to be more of a debugging tool. For example, it treats no arguments as using standard input, which is different from most static analysis tools.
So, first of of all
Second, gotype was never meant to be a "lint" tool as you allude to, and as @mvdan also mentioned. It's a debugging tool for go/types, used to run go/types "stand-alone".
I'm going to change the title to refer to the latest version. We may fix this at some point, but it's certainly not urgent.