Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadFile ¶
DownloadFile - function to downlaod and save file from a given url
func YarnInstall ¶
YarnInstall - function to install libraries from yarn.conf Example : - YarnInstall("./conf/yarn.json","./static/vendor/")
Types ¶
type Yarn ¶
type Yarn struct { ID string `json:"_id"` Rev string `json:"_rev"` Name string `json:"name"` Description string `json:"description"` DistTags DistTag `json:"dist-tags"` Versions map[string]Version }
Yarn - Struture to hold yarn.json configuration
type YarnConf ¶
type YarnConf struct {
Dependencies []YarnConfItem `json:"dependencies"`
}
type YarnConfItem ¶
Click to show internal directories.
Click to hide internal directories.