1 2 3 4 5 6 7 8 9 10 11 12 13
import Foundation struct Bookmark: Codable, Identifiable, Hashable { let id: UUID let tags: [String] let createdAt: Date init(id: UUID = UUID(), tags: [String]) { createdAt = Date() self.id = id self.tags = tags } }