Skip to content

Commit

Permalink
update excavator
Browse files Browse the repository at this point in the history
  • Loading branch information
godcong committed Oct 7, 2019
1 parent 98c086a commit e4be27e
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,22 @@
# excavator
# excavator


How to use
```
excH := New(RadicalTypeHanChengPinyin, ActionArgs(RadicalTypeHanChengPinyin, RadicalTypeHanChengBihua, RadicalTypeHanChengBushou))
e2 := excH.Run()
if e2 != nil {
t.Fatal(e2)
}
excK := New(RadicalTypeKangXiPinyin, ActionArgs(RadicalTypeKangXiPinyin, RadicalTypeKangXiBihua, RadicalTypeKangXiBushou))
e1 := excK.Run()
if e1 != nil {
t.Fatal(e1)
}
```
if want change db address use:
```
exc :=New(RadicalTypeHanChengPinyin, DBArgs(#db#))
or
exc.SetDB(#db#)
```

0 comments on commit e4be27e

Please sign in to comment.