boilerplate

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 22, 2017 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadToFile

func DownloadToFile(r *grequests.Response, fileName string) error

DownloadToFile allows you to download the contents of the response to a file

func FetchRepo

func FetchRepo(boil *Boilerplate, appName string, appID string) error

FetchRepo will download the boilerplate from remote and extract to ${appName}/folder

Types

type Boilerplate

type Boilerplate struct {
	Name string
	URL  string
}

Boilerplate is GetBoilerplateList's result type

func GetBoilerplateList

func GetBoilerplateList() ([]*Boilerplate, error)

GetBoilerplateList returns all the boilerplate with name and url

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL