Skip to content

Commit

Permalink
Go Report Card - helper/divide.go - Line 17: warning: "divison" is a …
Browse files Browse the repository at this point in the history
…misspelling of "division" (misspell) (#145)

# Describe Request

Go Report Card - helper/divide.go - Line 17: warning: "divison" is a
misspelling of "division" (misspell)

Fixed #142 

# Change Type

Bug fix.
  • Loading branch information
cinar committed Jun 2, 2024
1 parent 732a3a6 commit 0478218
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion helper/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ Example:
ac := helper.SliceToChan([]int{2, 4, 6, 8, 10})
bc := helper.SliceToChan([]int{2, 1, 3, 2, 5})
divison := helper.Divide(ac, bc)
division := helper.Divide(ac, bc)
fmt.Println(helper.ChanToSlice(division)) // [1, 4, 2, 4, 2]
```
Expand Down
2 changes: 1 addition & 1 deletion helper/divide.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ package helper
// ac := helper.SliceToChan([]int{2, 4, 6, 8, 10})
// bc := helper.SliceToChan([]int{2, 1, 3, 2, 5})
//
// divison := helper.Divide(ac, bc)
// division := helper.Divide(ac, bc)
//
// fmt.Println(helper.ChanToSlice(division)) // [1, 4, 2, 4, 2]
func Divide[T Number](ac, bc <-chan T) <-chan T {
Expand Down

0 comments on commit 0478218

Please sign in to comment.