structs

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Additional

type Additional interface{}

type Entry

type Entry struct {
	Default    []string   `yaml:"default"`
	Additional Additional `yaml:"additional"`
}

type InstallFlavours

type InstallFlavours struct {
	All       Entry `yaml:"all"`
	Latte     Entry `yaml:"latte"`
	Frappe    Entry `yaml:"frappe"`
	Macchiato Entry `yaml:"macchiato"`
	Mocha     Entry `yaml:"mocha"`
}

type InstallLocation

type InstallLocation struct {
	Linux   string `yaml:"linux"`
	Macos   string `yaml:"macos"`
	Windows string `yaml:"windows"`
}

type Installation

type Installation struct {
	InstallLocation InstallLocation `yaml:"location"`
	InstallFlavours InstallFlavours `yaml:"flavours"`
	To              string          `yaml:"to"`
	OneFlavour      bool            `yaml:"one_flavour"`
	Modes           []string        `yaml:"modes"`
}

type Program

type Program struct {
	AppName      string       `yaml:"app_name"`
	BinaryName   string       `yaml:"binary_name"`
	Installation Installation `yaml:"installation"`
}

func UnmarshalProgram

func UnmarshalProgram(data []byte) (Program, error)

func (*Program) Marshal

func (r *Program) Marshal() ([]byte, error)

Jump to

Keyboard shortcuts

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