rename pkg.Catalog to pkg.Collection (#1764)

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
This commit is contained in:
Alex Goodman
2023-04-26 13:56:33 -04:00
committed by GitHub
parent 02bd52728e
commit fd02bef0a3
22 changed files with 96 additions and 87 deletions
+9
View File
@@ -0,0 +1,9 @@
package pkg
// Deprecated: use Collection instead
type Catalog = Collection
// Deprecated: use NewCollection() instead
func NewCatalog(pkgs ...Package) *Catalog {
return NewCollection(pkgs...)
}