Skip to content

Asutorufa/hujiang_dictionary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Download

使用

# 英语
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 en

others

if use termux, please use termux-chroot to run golang function and create /erc/resolv.conf file, otherwise dns resolve will failed.