Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ModuleInfo ¶
type ModuleInfo struct {
Module struct {
Path string `json:"Path"`
} `json:"Module"`
Require []struct {
Path string `json:"Path"`
Version string `json:"Version"`
} `json:"Require"`
}
func GetModuleInfo ¶
func GetModuleInfo(dir string) (*ModuleInfo, error)
Click to show internal directories.
Click to hide internal directories.