Documentation ¶
Index ¶
Constants ¶
View Source
const BuildEngineDefault = ""
BuildEngineDefault Default go-flutter engine version
View Source
const BuildOpenGlVersionDefault = "3.3"
BuildOpenGlVersionDefault Default OpenGL version for go-flutter
View Source
const BuildTargetDefault = "lib/main_desktop.dart"
BuildTargetDefault Default build target file
Variables ¶
This section is empty.
Functions ¶
func PrintMissingField ¶
func PrintMissingField(name, file, def string)
Types ¶
type Config ¶
type Config struct { ApplicationName string `yaml:"application-name"` ExecutableName string `yaml:"executable-name"` PackageName string `yaml:"package-name"` License string Target string BranchREMOVED string `yaml:"branch"` CachePathREMOVED string `yaml:"cache-path"` OpenGL string Engine string `yaml:"engine-version"` }
Config contains the parsed contents of hover.yaml
func GetConfig ¶
func GetConfig() Config
GetConfig returns the working directory hover.yaml as a Config
func ReadConfigFile ¶
ReadConfigFile reads a .yaml file at a path and return a correspond Config struct
func (Config) GetApplicationName ¶
func (Config) GetExecutableName ¶
func (Config) GetLicense ¶
func (Config) GetPackageName ¶
Click to show internal directories.
Click to hide internal directories.