Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Save ¶
Save attempts to write a FyneApp metadata to the provided writer. If the encoding fails an error will be returned.
func SaveStandard ¶
SaveStandard attempts to save a FyneApp metadata to the `FyneApp.toml` file in the specified dir. If the file cannot be written or encoding fails an error will be returned.
Types ¶
type AppDetails ¶
type AppDetails struct { Icon string `toml:",omitempty"` Name, ID string `toml:",omitempty"` Version string `toml:",omitempty"` Build int `toml:",omitempty"` }
AppDetails describes the build information, this group may be OS or arch specific
type FyneApp ¶
type FyneApp struct { Website string `toml:",omitempty"` Details AppDetails Development map[string]string `toml:",omitempty"` Release map[string]string `toml:",omitempty"` }
FyneApp describes the top level metadata for building a fyne application
func Load ¶
Load attempts to read a FyneApp metadata from the provided reader. If this cannot be done an error will be returned.
func LoadStandard ¶
LoadStandard attempts to read a FyneApp metadata from the `FyneApp.toml` file in the specified dir. If the file cannot be found or parsed an error will be returned.