translator

package
v0.0.0-...-e42e14f Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package translator provides a simple api for simplytranslate and lingvatranslate

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend

type Backend interface {
	Translate(text, source, target, engine string) (utils.BackendResponse, error)
	TextToSpeech(text, language string) ([]byte, error)
}

func NewBackend

func NewBackend(backend string) (Backend, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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