Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
miladrahimi authored Jun 19, 2022
1 parent d86829c commit 6a72dd4
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 @@ -205,7 +205,7 @@ What happened?

### Setup Method

The Setup method runs automatically after feeding.
The `Setup()` method runs automatically after feeding.
You can use this method for post-processing logic.

```go
Expand All @@ -222,7 +222,7 @@ type Config struct {
Sex Sex
}

func (c *Config) setup() error {
func (c *Config) Setup() error {
if c.sexRaw == 0 {
c.Sex = Male
} else if c.sexRaw == 1 {
Expand Down

0 comments on commit 6a72dd4

Please sign in to comment.