Documentation
¶
Index ¶
- type DeeplFree
- type GoogleFree
- type Provider
- type Translation
- func (translation *Translation) Cleanup()
- func (translation *Translation) Entries(term string) []util.Entry
- func (translation *Translation) General() *config.GeneralModule
- func (translation *Translation) Refresh()
- func (translation *Translation) Setup() bool
- func (translation *Translation) SetupData()
- func (translation *Translation) SpecialFunc(args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeeplFree ¶ added in v0.12.1
type DeeplFree struct {
// contains filtered or unexported fields
}
func (*DeeplFree) SetupAPIKey ¶ added in v0.12.1
func (deepl *DeeplFree) SetupAPIKey()
type GoogleFree ¶
type GoogleFree struct{}
func (*GoogleFree) Name ¶
func (googlefree *GoogleFree) Name() string
func (*GoogleFree) Translate ¶
func (googlefree *GoogleFree) Translate(text, src, dest string) string
type Translation ¶
type Translation struct {
// contains filtered or unexported fields
}
func (*Translation) Cleanup ¶
func (translation *Translation) Cleanup()
func (*Translation) General ¶
func (translation *Translation) General() *config.GeneralModule
func (*Translation) Refresh ¶
func (translation *Translation) Refresh()
func (*Translation) Setup ¶
func (translation *Translation) Setup() bool
func (*Translation) SetupData ¶
func (translation *Translation) SetupData()
func (*Translation) SpecialFunc ¶
func (translation *Translation) SpecialFunc(args ...interface{})
Click to show internal directories.
Click to hide internal directories.