Skip to content

Commit

Permalink
docs: fix typos in README
Browse files Browse the repository at this point in the history
- Fix typo `bre` to `be`
- Fix typo `arror` to `error`
  • Loading branch information
abiriadev authored Jan 8, 2024
1 parent 6baac8e commit a1977b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ type Encoding struct {
}
```

Encoding is a custom base encoding defined by an alphabet. It should bre created
Encoding is a custom base encoding defined by an alphabet. It should be created
using NewEncoding function

#### func NewEncoding
Expand All @@ -40,7 +40,7 @@ alphabets:
func (e *Encoding) Decode(source string) ([]byte, error)
```
Decode function decodes a string previously obtained from Encode, using the same
alphabet and returns a byte slice In case the input is not valid an arror will
alphabet and returns a byte slice In case the input is not valid an error will
be returned

#### func (*Encoding) Encode
Expand Down

0 comments on commit a1977b3

Please sign in to comment.