Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Data ¶
type Data struct { ProjectName string BinaryName string WailsVersion string NPMProjectName string AuthorName string AuthorEmail string AuthorNameAndEmail string WailsDirectory string GoSDKPath string WindowsFlags string CGOEnabled string OutputFile string }
Data contains the data we wish to embed during template installation
type Options ¶
type Options struct { ProjectName string TemplateName string BinaryName string TargetDir string Logger *clilogger.CLILogger PathToDesktopBinary string PathToServerBinary string InitGit bool AuthorName string AuthorEmail string IDE string ProjectNameFilename string // The project name but as a valid filename WailsVersion string GoSDKPath string WindowsFlags string CGOEnabled string CGOLDFlags string OutputFile string }
Options for installing a template
type Template ¶
type Template struct { // Template details Name string `json:"name"` ShortName string `json:"shortname"` Author string `json:"author"` Description string `json:"description"` HelpURL string `json:"helpurl"` // Other data FS gofs.FS `json:"-"` }
Template holds data relating to a template including the metadata stored in template.json
Click to show internal directories.
Click to hide internal directories.