From 6a72dd41e6c6256bc8756f889932f1e5c23a00f0 Mon Sep 17 00:00:00 2001 From: Milad Rahimi Date: Sun, 19 Jun 2022 15:48:28 +0430 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7aec7aa..03e3955 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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 {