From 1048fc80c543cc28f5d545877298b90689ed8b5f Mon Sep 17 00:00:00 2001 From: Taras Madan <89859571+tarasmadan@users.noreply.github.com> Date: Wed, 27 Oct 2021 17:19:44 +0200 Subject: [PATCH] Fix typo. --- GoForCPPProgrammers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GoForCPPProgrammers.md b/GoForCPPProgrammers.md index 648bc9c2..04cb0135 100644 --- a/GoForCPPProgrammers.md +++ b/GoForCPPProgrammers.md @@ -449,7 +449,7 @@ func f3(x myInterface) { } ``` -The conversion to `myPrintInterface` is entirely dynamic. It will work as long as the dynamic type of x defines a `print` method. +The conversion to `myPrintInterface` is entirely dynamic. It will work as long as the dynamic type of x defines a `Print` method. Because the conversion is dynamic, it may be used to implement generic programming similar to templates in C++. This is done by manipulating values of the minimal interface.