structs

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppLocation added in v1.0.0

type AppLocation struct {
	Location []string `yaml:"location"`
}

func UnmarshalLocation added in v1.0.0

func UnmarshalLocation(data []byte) (AppLocation, error)

func (*AppLocation) MarshalLocation added in v1.0.0

func (r *AppLocation) MarshalLocation() ([]byte, error)

type Catppuccinyaml added in v1.0.0

type Catppuccinyaml struct {
	Name          string
	Exec          string
	MacosLocation string
	LinuxLocation string
	WinLocation   string
}

type Entry

type Entry struct {
	Default    []string            `yaml:"default"`
	Additional map[string][]string `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"`
	Comments        string          `yaml:"comments"`
}

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)

type SearchEntry added in v0.3.0

type SearchEntry struct {
	Name   string   `json:"name"`
	Stars  int      `json:"stars"`
	Topics []string `json:"topics"`
}

type SearchRes added in v0.3.0

type SearchRes []SearchEntry

func UnmarshalSearch added in v0.3.0

func UnmarshalSearch(data []byte) (SearchRes, error)

Jump to

Keyboard shortcuts

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