Skip to content

Commit

Permalink
Resolve #12
Browse files Browse the repository at this point in the history
doc: misspell on godoc for integer and boolean
  • Loading branch information
muktihari committed Oct 2, 2020
1 parent 35df377 commit 7ee49f5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions boolean/boolean.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ var ErrUnsupportedOperator = errors.New("unsupported operator")
// ErrInvalidOperationOnFloat is error invalid operation on float
var ErrInvalidOperationOnFloat = errors.New("invalid operation on float")

// ErrIntegerDividedByZero occurs when x/y and y equals to 0, Go does not allow integer to be devided by zero
var ErrIntegerDividedByZero = errors.New("integer divide by zero")
// ErrIntegerDividedByZero occurs when x/y and y equals to 0, Go does not allow integer to be divided by zero
var ErrIntegerDividedByZero = errors.New("integer divided by zero")

// Visitor is boolean visitor interface
type Visitor interface {
Expand Down
4 changes: 2 additions & 2 deletions integer/integer.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
// ErrUnsupportedOperator is error unsupported operator
var ErrUnsupportedOperator = errors.New("unsupported operator")

// ErrIntegerDividedByZero occurs when x/y and y equals to 0, Go does not allow integer to be devided by zero
var ErrIntegerDividedByZero = errors.New("integer divide by zero")
// ErrIntegerDividedByZero occurs when x/y and y equals to 0, Go does not allow integer to be divided by zero
var ErrIntegerDividedByZero = errors.New("integer divided by zero")

// Visitor is integer visitor interface
type Visitor interface {
Expand Down

0 comments on commit 7ee49f5

Please sign in to comment.