parent
9b36644a31
commit
a482a083bf
14 changed files with 13 additions and 86 deletions
|
@ -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 }
|
||||
|
|
Reference in a new issue