Create new Checksum struct for Artifact

Refers to #28
This commit is contained in:
Ettore Di Giacinto
2019-12-29 14:06:28 +01:00
parent 2693ec2f8c
commit cb98a49917

View File

@@ -60,7 +60,7 @@ type PackageArtifact struct {
}
func NewPackageArtifact(path string) Artifact {
return &PackageArtifact{Path: path, Dependencies: []*PackageArtifact{}}
return &PackageArtifact{Path: path, Dependencies: []*PackageArtifact{}, Checksums: Checksums{}}
}
func NewPackageArtifactFromYaml(data []byte) (Artifact, error) {