Initialized a proper go module for search, began adding tests and fixed a minor bug!
This commit is contained in:
parent
39e58554a1
commit
e504ad9fce
4 changed files with 67 additions and 0 deletions
|
@ -61,6 +61,7 @@ func normalizeWords(words []string) (result []string) {
|
|||
continue
|
||||
}
|
||||
result = append(result, word)
|
||||
lastword = word
|
||||
}
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue