Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
struct.go 928 B
package assignment1

// Country dslkjfslkfjl
type Country struct {
	Code        string `json:"alpha2Code"`
	Countryname string `json:"name"`
	Countryflag string `json:"flag"`
	//Categorycodes string			`json:"category"`
	//Speciescategorycount string 	`json:"`
}

// Species comment endpoint
type Species struct {
	Key            int    `json:"key"`
	Kingdom        string `json:"kingdom"`
	Phylum         string `json:"phylum"`
	Order          string `json:"order"`
	Family         string `json:"family"`
	Genus          string `json:"genus"`
	ScientificName string `json:"scientificName"`
	CanonicalName  string `json:"canonicalName"`
	Year           string `json:"year"`
}

// Year lkerjgflkjtgj
type Year struct {
	Year string `json:"bracketYear"`
}

// Diag comment endpoint
type Diag struct {
	Gbif          string `json:""`
	Restcountries string `json:""`
	Version       string `json:""`
	uptime        string `json:""`
}