Drop metadata attr

Fixes #26
This commit is contained in:
Matthew Dillon 2015-11-13 13:08:08 -07:00
parent 9b36644a31
commit a482a083bf
14 changed files with 13 additions and 86 deletions

View file

@ -89,11 +89,6 @@ type Species struct {
// ManySpecies is multiple species entities.
type ManySpecies []*Species
// SpeciesMeta stashes some metadata related to the entity.
type SpeciesMeta struct {
CanAdd bool `json:"canAdd"`
}
// GenusIDFromName looks up the genus' ID.
func GenusIDFromName(genusName string) (int64, error) {
var genusID struct{ ID int64 }