String similarity helpers in Go