Mercurial > public > geoquiz
diff GeoQuiz/Logic/CountryModel.swift @ 19:f140bb277c96
refactor code
author | Dennis C. M. <dennis@denniscm.com> |
---|---|
date | Sun, 23 Oct 2022 00:11:38 +0100 |
parents | a793f33f05fb |
children |
line wrap: on
line diff
--- a/GeoQuiz/Logic/CountryModel.swift Sat Oct 22 08:56:54 2022 +0100 +++ b/GeoQuiz/Logic/CountryModel.swift Sun Oct 23 00:11:38 2022 +0100 @@ -7,7 +7,7 @@ import Foundation -struct CountryData: Codable { +struct CountryModel: Codable { let countries: [String: Country] struct Country: Codable, Equatable, Hashable {