From ff70fd2b10f37592f196419a1fd9a134a560742f Mon Sep 17 00:00:00 2001 From: Michael George <64975785+LMech@users.noreply.github.com> Date: Thu, 16 Jun 2022 06:31:27 +0200 Subject: [PATCH] fix: day11.md day11_example1 add missing comma. fix: day11.md day11_example2 add the last empty string parameter for consistency. fix: day11_example2.go add the last empty string parameter to match the documented example. --- Days/Go/day11_example2.go | 2 +- Days/day11.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Days/Go/day11_example2.go b/Days/Go/day11_example2.go index 47b7d4b..6fd685c 100644 --- a/Days/Go/day11_example2.go +++ b/Days/Go/day11_example2.go @@ -6,6 +6,6 @@ func main() { var challenge = "#90DaysOfDevOps" const daystotal = 90 - fmt.Println("Welcome to", challenge) + fmt.Println("Welcome to", challenge, "") fmt.Println("This is a", daystotal, "challenge") } \ No newline at end of file diff --git a/Days/day11.md b/Days/day11.md index d3ab5b7..1b850cf 100644 --- a/Days/day11.md +++ b/Days/day11.md @@ -39,7 +39,7 @@ import "fmt" func main() { var challenge = "#90DaysOfDevOps" - fmt.Println("Welcome to", challenge "") + fmt.Println("Welcome to", challenge, "") } ``` You can find the above code snippet in [day11_example1.go](Go/day11_example1.go) @@ -61,7 +61,7 @@ func main() { var challenge = "#90DaysOfDevOps" const daystotal = 90 - fmt.Println("Welcome to", challenge) + fmt.Println("Welcome to", challenge, "") fmt.Println("This is a", daystotal, "challenge") } ```