pythonconfig

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Name      string   `toml:"name"`
	Publisher string   `toml:"publisher"`
	Version   string   `toml:"version"`
	Language  string   `toml:"language"`
	Meta      MetaInfo `toml:"meta"`
}

func LoadFile

func LoadFile(filepath string) (Config, error)

type MetaInfo

type MetaInfo struct {
	Icon        string `toml:"icon"`
	DisplayName string `toml:"display_name"`
	Source      string `toml:"source"`
}

func (MetaInfo) ToAPI

Jump to

Keyboard shortcuts

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