xext

package
v0.2.19 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetExtDefinitionInterface

func GetExtDefinitionInterface(extDir, fname string) (map[string]interface{}, error)

Types

type ExtDef

type ExtDef struct {
	Meta struct {
		Id          string `mapstructure:"id"`
		Name        string `mapstructure:"name"`
		Author      string `mapstructure:"author"`
		Description string `mapstructure:"description"`
		Type        string `mapstructure:"type"`
		Version     string `mapstructure:"version"`
		Repository  string `mapstructure:"repository"`
	} `mapstructure:"meta"`
}

func GetExtDefinition

func GetExtDefinition(extDir, fname string) (ExtDef, error)

func (ExtDef) DisplaySimple

func (e ExtDef) DisplaySimple(prefix, suffix string)

func (ExtDef) GetId

func (e ExtDef) GetId() string

Jump to

Keyboard shortcuts

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