From 31a8e412fe64a38b3c9760f749352d387a14b852 Mon Sep 17 00:00:00 2001 From: Karthik Nayak Date: Sun, 15 Nov 2015 17:22:34 +0530 Subject: [PATCH] maintain consistency with variable cases --- en/02.3.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/en/02.3.md b/en/02.3.md index 385d972e..b6d39f07 100644 --- a/en/02.3.md +++ b/en/02.3.md @@ -251,9 +251,9 @@ We'll use the following example here. The above example returns two values without names -you have the option of naming them also. If we named the return values, we would just need to use `return` to return the values since they are initialized in the function automatically. Notice that if your functions are going to be used outside of the package, which means your function names start with a capital letter, you'd better write complete statements for `return`; it makes your code more readable. - func SumAndProduct(A, B int) (add int, Multiplied int) { + func SumAndProduct(A, B int) (add int, multiplied int) { add = A+B - Multiplied = A*B + multiplied = A*B return }