Skip to content

Instantly share code, notes, and snippets.

@artrmz artrmz/GitHub.swift
Created Aug 7, 2018

Embed
What would you like to do?
public struct GitHubUser: Codable {
public let name: String
public let location: String
public let repos: Int
private enum CodingKeys: String, CodingKey {
case name
case location
case repos = "public_repos"
}
}
public struct GitHubFollower: Codable {
public let login: String
private enum CodingKeys: String, CodingKey {
case login
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.