matthewmueller/joy

Eliminate unuses struct values

Open

#49 创建于 2017年11月1日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)Go (34 fork)github user discovery
enhancementhelp wanted

仓库指标

Star
 (1,317 star)
PR 合并指标
 (PR 指标待抓取)

描述

This would be a nice enhancement. For example, in Go the proper way to represent an "" tag would be something like this:

type A struct {
	Class string
	Href string
	Title string
}

However, having all the possible fields of an <a> tag is wasteful, we can do better than this by only including the properties we're going to use.

贡献者指南