// Locator returns new locator from the package repository, name and version
Locator returns new locator from the package repository, name and version
// Locator returns new locator from the package repository name and version
func (p *Package) Locator() loc.Locator {
	return loc.Locator{
		Repository: p.Repository,
		Name:       p.Name,
		Version:    p.Version,
	}
}
func ( p * Package ) Locator ( ) loc . Locator { return loc . Locator { Repository : p . Repository , Name : p . Name , Version : p . Version , } }
Locator returns new locator from the package repository, name and version
Locator returns new locator from the package repository name and version