From 9093103b0aba25a11fd51ef2c442c66275d8c21a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C4=99drzej=20Szczepaniak?= Date: Thu, 29 Aug 2019 22:34:07 +0200 Subject: [PATCH] Make sentence logical --- docs/content/docs/getting-started.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/docs/getting-started.md b/docs/content/docs/getting-started.md index e722e240a..4ed22ff55 100644 --- a/docs/content/docs/getting-started.md +++ b/docs/content/docs/getting-started.md @@ -210,7 +210,7 @@ You may notice that we have two types of *handler functions*: 2. method `func (c structHandler) Handler(msg *message.Message) ([]*message.Message, error)` The second option is useful when your function requires some dependencies like database, logger, etc. -If you use a simple function without dependencies, it's fine to use the second option. +If you use a simple function without dependencies, it's fine to use first option. {{% render-md %}} {{% load-snippet-partial file="content/docs/getting-started/router/main.go" first_line_contains="func printMessages" last_line_contains="return message.Messages{msg}, nil" padding_after="3" %}}