mirror of
https://github.com/kevin-DL/m3o-go.git
synced 2026-01-23 23:21:27 +00:00
Commit from m3o/m3o action
This commit is contained in:
@@ -4,6 +4,10 @@ import (
|
||||
"go.m3o.com/client"
|
||||
)
|
||||
|
||||
type Translate interface {
|
||||
Text(*TextRequest) (*TextResponse, error)
|
||||
}
|
||||
|
||||
func NewTranslateService(token string) *TranslateService {
|
||||
return &TranslateService{
|
||||
client: client.NewClient(&client.Options{
|
||||
|
||||
Reference in New Issue
Block a user