...

Package addons

import "go.formulabun.club/srb2kart/addons"
Overview
Index

Overview ▾

type Addon

type Addon struct {
    File string
}

func (Addon) Addons

func (a Addon) Addons() []string

func (Addon) Format

func (a Addon) Format() []string

func (Addon) String

func (a Addon) String() string

type AddonCollection

type AddonCollection interface {
    Addons() []string
    Format() []string
}

type AddonGroup

type AddonGroup struct {
    GroupName string
    Items     []AddonCollection
}

func (AddonGroup) Addons

func (a AddonGroup) Addons() []string

func (AddonGroup) Format

func (a AddonGroup) Format() (result []string)

func (AddonGroup) String

func (a AddonGroup) String() string