package models import ( pb "go.unistack.org/unistack-org/pkgdash/proto" ) type ListPackage []*Package func (l ListPackage) Mapping() []*pb.Package { result := make([]*pb.Package, 0, len(l)) return result }