From cf985cacee8231bd7f0eaff4f23d549fef4f4ca9 Mon Sep 17 00:00:00 2001 From: Sam Hennessy Date: Mon, 1 Aug 2022 17:59:40 +0900 Subject: [PATCH] Update application-development.mdx (#1682) --- website/docs/guides/application-development.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/guides/application-development.mdx b/website/docs/guides/application-development.mdx index d9de25d2e..13b1b7382 100644 --- a/website/docs/guides/application-development.mdx +++ b/website/docs/guides/application-development.mdx @@ -83,7 +83,7 @@ func (a *App) shutdown(ctx context.Context) { } func (a *App) Greet(name string) string { - return fmt.Printf("Hello %s!", name) + return fmt.Sprintf("Hello %s!", name) } ```