An open API service indexing awesome lists of open source software.

https://github.com/chyroc/googletranslate


https://github.com/chyroc/googletranslate

Last synced: 10 months ago
JSON representation

Awesome Lists containing this project

README

          

# googletranslate

## Installation

```bash
go get github.com/chyroc/googletranslate
```

## Usage

```go
package main

import (
"fmt"

"github.com/chyroc/googletranslate"
)

func main() {
fmt.Println(googletranslate.Translate("Hello", "en", "zh"))
// output: 你好, nil
}
```