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) } ```