translate: github.com/hankmartinez/translate Index | Files | Directories

package translate

import "github.com/hankmartinez/translate"

Index

Package Files

root.go translate.go

func Execute Uses

func Execute()

Execute translate command

func Translate Uses

func Translate(sl, tl, q string, httpClient *http.Client) (string, error)

Translate translates a source language 'sl' to target language 'tl' given a query 'q' If httpClient is nil http.DefaultClient will be used for requests

Directories

PathSynopsis
translate

Package translate imports 10 packages (graph) and is imported by 2 packages. Updated 2018-03-25. Refresh now. Tools for package owners.