mirror of
https://github.com/ivanvorobei/SwiftUI.git
synced 2026-03-23 09:51:21 +01:00
Add examples project
This commit is contained in:
17
Examples/GitHub Search/GitHubSearchWithSwiftUI/Model/Repository.swift
Executable file
17
Examples/GitHub Search/GitHubSearchWithSwiftUI/Model/Repository.swift
Executable file
@@ -0,0 +1,17 @@
|
||||
//
|
||||
// Repository.swift
|
||||
// GitHubSearchWithSwiftUI
|
||||
//
|
||||
// Created by marty-suzuki on 2019/06/05.
|
||||
// Copyright © 2019 jp.marty-suzuki. All rights reserved.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
|
||||
struct Repository: Decodable {
|
||||
let id: Int
|
||||
let fullName: String
|
||||
let description: String?
|
||||
let stargazersCount: Int
|
||||
let htmlUrl: URL
|
||||
}
|
||||
Reference in New Issue
Block a user