Skip to content
This repository has been archived by the owner on Aug 27, 2023. It is now read-only.

rugby-board/go-rugby-dict

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-rugby-dict

Rugby dict lib in Go

Usage

Installation

go get github.com/rugby-board/go-rugby-dict

Example

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) // 弗朗索瓦·斯特恩

About

Rugby dict lib in Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages