Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
struct Page<Model: Decodable>: Decodable {
let page: UInt
let total_results: UInt
let total_pages: UInt
let results: [Model]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment