https://github.com/chyroc/googletranslate
https://github.com/chyroc/googletranslate
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/chyroc/googletranslate
- Owner: chyroc
- License: apache-2.0
- Created: 2022-04-15T13:26:52.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2023-03-18T05:07:46.000Z (almost 3 years ago)
- Last Synced: 2025-01-29T08:23:14.537Z (12 months ago)
- Language: Go
- Size: 9.77 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
}
```