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