Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPkgNameByFileName ¶
GetPkgNameByFileName is to get package name
func GetRepoNameByPkgName ¶
func GetRepoNameByPkgName(pkgname string, repos map[string]*Repository) string
GetRepoNameByPkgName is to get repository
func NewRepositories ¶
func NewRepositories(repoListFile string) map[string]*Repository
NewRepositories is to new global repositories
Types ¶
type Package ¶
type Package struct { Name string `json:"name"` Modules []Module `json:"modules"` Repo *Repository `json:"-"` }
Package is a struct
type Repository ¶
Repository is a struct
Click to show internal directories.
Click to hide internal directories.