Skip to content

Commit

Permalink
package struct fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Mcrich23 committed Oct 27, 2023
1 parent 8f6d262 commit ab582c7
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Sources/PackageKit/PackageKit.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@ struct PackageDecoder: Codable {
let pins: [RawPackage]
}

public struct Package {
let name: String
let location: String
let licenseUrl: URL?
public struct Package: Identifiable {
public let id = UUID()
public let name: String
public let location: String
public let licenseUrl: URL?
}

public struct PackageKit {
Expand Down

0 comments on commit ab582c7

Please sign in to comment.