Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct {
// Src is a local Starlight project root, an http(s) URL of a tarball,
// or a GitHub repository URL. A GitHub URL downloads the repository
// archive and finds the Starlight project (REQ-CNT-13).
Src string
// Out is the Gx content directory.
Out string
// GitHubBase overrides https://codeload.github.com for tests.
GitHubBase string
// Client is the HTTP client of a remote import.
Client *http.Client
// Log receives progress lines. Defaults to io.Discard.
Log io.Writer
}
Options configure one import.
Click to show internal directories.
Click to hide internal directories.