diff --git a/practice/exercism/021-welcome-to-tech-palace/welcome_to_tech_palace.go b/practice/exercism/021-welcome-to-tech-palace/welcome_to_tech_palace.go index 08aea88..3195d21 100644 --- a/practice/exercism/021-welcome-to-tech-palace/welcome_to_tech_palace.go +++ b/practice/exercism/021-welcome-to-tech-palace/welcome_to_tech_palace.go @@ -9,12 +9,12 @@ func WelcomeMessage(customer string) string { // AddBorder adds a border to a welcome message. func AddBorder(welcomeMsg string, numStarsPerLine int) string { - border := strings.Repeat("*", numStarsPerLine) - + border := strings.Repeat("*", numStarsPerLine) + return border + "\n" + welcomeMsg + "\n" + border } // CleanupMessage cleans up an old marketing message. func CleanupMessage(oldMsg string) string { - return strings.TrimSpace(strings.ReplaceAll(oldMsg, "*", "")) -} \ No newline at end of file + return strings.TrimSpace(strings.ReplaceAll(oldMsg, "*", "")) +} diff --git a/practice/exercism/021-welcome-to-tech-palace/welcome_to_tech_palace_test.go b/practice/exercism/021-welcome-to-tech-palace/welcome_to_tech_palace_test.go index 27fb27d..690c736 100644 --- a/practice/exercism/021-welcome-to-tech-palace/welcome_to_tech_palace_test.go +++ b/practice/exercism/021-welcome-to-tech-palace/welcome_to_tech_palace_test.go @@ -99,4 +99,4 @@ func TestCleanupMessage(t *testing.T) { } }) } -} \ No newline at end of file +}