go : implement SetSplitOnWord (#1114)

* Go binding: Implement SetSplitOnWord

* Add comment for consistency
This commit is contained in:
xdrudis
2023-07-25 09:10:12 -07:00
committed by GitHub
parent 1450346214
commit a2684cd93a
3 changed files with 9 additions and 0 deletions

View File

@@ -81,6 +81,10 @@ func (context *context) SetSpeedup(v bool) {
context.params.SetSpeedup(v)
}
func (context *context) SetSplitOnWord(v bool) {
context.params.SetSplitOnWord(v)
}
// Set number of threads to use
func (context *context) SetThreads(v uint) {
context.params.SetThreads(int(v))