import Foundation
enum Position: String {
case senior, staff
}
struct Project {
let name: String
let url: String
}
struct Engineer {
let name: String
let nationality: String
let location: String
let position: Position
let projects: [Project]?
let openToWork: Bool
init(_ name: String,
nationality: String,
location: String,
position: Position,
projects: [Project]? = nil,
openToWork: Bool) {
self.name = name
self.position = position
self.location = location
self.nationality = nationality
self.projects = projects
self.openToWork = openToWork
}
}
let me = Engineer(
"Sebastien Audeon",
nationality: "🇦🇺",
location: "Los Angeles",
position: .staff,
projects: [
.init(name: "L\'Audeon", url: "https://laudeon.co"),
.init(name: "Gluvbox", url: "https://gluvbox.io"),
.init(name: "Biomorphik", url: "https://biomorphik.com"),
]
openToWork: false
)
saudeon Goto Github PK
Name: Sebastien Audeon
Type: User
Bio: Builder of things in Swift. Previously known as @sebastienpeek.
Location: Los Angeles