Browse Source

golint change

master
Blaine Motsinger 1 year ago
parent
commit
e915e126d0
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      go/scrabble-score/scrabble_score.go

+ 1
- 1
go/scrabble-score/scrabble_score.go View File

@@ -23,7 +23,7 @@ func Score(word string) int {

switch unicode.ToLower(r) {
case 'a', 'e', 'i', 'o', 'u', 'l', 'n', 'r', 's', 't':
score += 1
score++
case 'd', 'g':
score += 2
case 'b', 'c', 'm', 'p':

Loading…
Cancel
Save