Rugby dict lib in Go
go get github.com/rugby-board/go-rugby-dict
import (
"fmt"
dict "github.com/rugby-board/go-rugby-dict"
)
d := dict.NewDefaultDict()
err := d.Load()
if err != nil {
fmt.Println("load error")
}
chineseTranslation, err := d.Query("Frans Steyn")
fmt.Println(chineseTranslation) // 弗朗索瓦·斯特恩