报告在
main
包和测试中未使用的导出类型。 有关已导出的标识符的更多信息,请参见
golang.org 上的 Exported identifiers
页面。
type User struct {} func main() {}
User
结构类型已声明但从未在代码中使用。 此类型将显示为灰色。