Documentation
¶
Overview ¶
Package packages provides functions to retrieve information about packages in a Golang project
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PackageInfo ¶
type PackageInfo struct { Name string `json:"name"` // package name Path string `json:"path"` // package path PackageData *build.Package // describes the Go package }
PackageInfo contains basic info about a package and a reference to the build.Package to describe this Go package.
func GetBasicPackagesInfo ¶
func GetBasicPackagesInfo(prj *project.ProjectInfo) ([]*PackageInfo, error)
GetBasicPackagesInfo retrieves a slice with information about each package in a Golang project.
An error is returned when it's not possible to get the packages information
Click to show internal directories.
Click to hide internal directories.