config

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 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 Credential added in v0.4.0

type Credential struct {
	DeepLAuthKey string `yaml:"deepl_auth_key"`
}

type DeepLCLIConfig added in v0.4.0

type DeepLCLIConfig struct {
	Credential      Credential      `yaml:"credential"`
	DefaultLanguage DefaultLanguage `yaml:"default_language"`
}

func NewDeepLCLIConfig added in v0.4.0

func NewDeepLCLIConfig() *DeepLCLIConfig

func (*DeepLCLIConfig) WriteDeepLCLIConfig added in v0.4.0

func (c *DeepLCLIConfig) WriteDeepLCLIConfig() error

type DefaultLanguage added in v0.4.0

type DefaultLanguage struct {
	Source string `yaml:"source"`
	Target string `yaml:"target"`
}

Jump to

Keyboard shortcuts

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