matthewmueller/joy

Eliminate unuses struct values

Open

#49 ouverte le 1 nov. 2017

Voir sur GitHub
 (0 commentaires) (0 réactions) (0 assignés)Go (34 forks)github user discovery
enhancementhelp wanted

Métriques du dépôt

Stars
 (1 317 stars)
Métriques de merge PR
 (Métriques PR en attente)

Description

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.

Guide contributeur