Skip to content
Snippets Groups Projects
Select Git revision
  • d4e18109ffab62b578e46402e082591f1264883c
  • master default protected
2 results

struct.go

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    struct.go 859 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"`
    	//SpeciesName    string `json:"genericName"`
    	ScientificName string `json:"scientificName"`
    	CanonicalName  string `json:"canonicalName"`
    	//Extinct        bool   `json:"extinct"`
    }
    
    // Diag comment endpoint
    type Diag struct {
    	Gbif          string `json:""`
    	Restcountries string `json:""`
    	Version       string `json:""`
    	uptime        string `json:""`
    }