Commit 8169ee79 authored by Aksel Baardsen's avatar Aksel Baardsen
Browse files

wrong param-key for json provided in task

parent f8134408
......@@ -4,11 +4,11 @@ const codeAPI = "https://restcountries.eu/rest/v2/alpha/"
type Country struct {
Code string `json:"code"`
CountryName string `json:"countryname"`
CountryFlag string `json:"countryflag"`
Code string `json:"alpha2Code"`
CountryName string `json:"name"`
//CountryFlag string `json:"countryflag"`
//Species []Specie `json:"species"`
SpeciesKey []int `json:"specieskey"`
//SpeciesKey []int `json:"specieskey"`
}
/*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment