view

package
v0.0.0-...-c2bc880 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisplayError

func DisplayError(err error) tea.Msg

func LoadConfigCmd

func LoadConfigCmd(configPath string) tea.Cmd

Types

type Config

type Config struct {
	Name       string `json:"name"`
	InputPath  string `json:"input_path"`
	Translator struct {
		Name    string         `json:"name"`
		Version string         `json:"version"`
		Repo    TranslatorRepo `json:"repo"`
	} `json:"translator"`
}

type ConfigLoadedMsg

type ConfigLoadedMsg struct {
	Config Config
}

type DisplayErrorMsg

type DisplayErrorMsg struct {
	Error error
}

type TranslatorRepo

type TranslatorRepo struct {
	Type string `json:"type"`
	Path string `json:"path"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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