Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/asutorufa/hujiang_dictionary
日本語辞書
https://github.com/asutorufa/hujiang_dictionary
dictionary english-dictionary japanese-dictionary
Last synced: 6 days ago
JSON representation
日本語辞書
- Host: GitHub
- URL: https://github.com/asutorufa/hujiang_dictionary
- Owner: Asutorufa
- License: mit
- Created: 2018-07-18T07:50:04.000Z (over 6 years ago)
- Default Branch: golang
- Last Pushed: 2024-10-19T11:41:52.000Z (2 months ago)
- Last Synced: 2024-10-29T16:19:22.745Z (about 2 months ago)
- Topics: dictionary, english-dictionary, japanese-dictionary
- Language: Go
- Homepage:
- Size: 10.9 MB
- Stars: 63
- Watchers: 2
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[Download](https://github.com/Asutorufa/hujiang_dictionary/releases)
## 使用
```shell
# 英语
hj -en hello
hj -en 你好
# 日语
hj -jp こにちは
# 中日
hj -cnjp 你好
#コトバック
hj -ktbk こら# add -json output json
hj -json -jp こにちは
```## API
有两种方式,Get(str string)返回结构体,GetJson(str string)返回json,具体请查看代码自行测试
![jp](https://raw.githubusercontent.com/Asutorufa/hujiang_dictionary/golang/img/jp.png)
![en](https://raw.githubusercontent.com/Asutorufa/hujiang_dictionary/golang/img/en.png)## others
if use `termux`, please use `termux-chroot` to run golang function and create `/erc/resolv.conf` file, otherwise dns resolve will failed.