Initialized a proper go module for search, began adding tests and fixed a minor bug!

This commit is contained in:
Julien Dessaux 2021-09-21 19:18:56 +02:00
parent 39e58554a1
commit e504ad9fce
4 changed files with 67 additions and 0 deletions

View file

@ -61,6 +61,7 @@ func normalizeWords(words []string) (result []string) {
continue
}
result = append(result, word)
lastword = word
}
return
}