From 7986c7b80000b31df5b2606ebaf1d36cb0227ff2 Mon Sep 17 00:00:00 2001 From: hamza Date: Fri, 24 Jun 2022 21:17:00 +0100 Subject: [PATCH] fix(subject):rename the subject --- subjects/skiptheline/README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/subjects/skiptheline/README.md b/subjects/skiptheline/README.md index 3d43259a..3e582e4d 100644 --- a/subjects/skiptheline/README.md +++ b/subjects/skiptheline/README.md @@ -1,4 +1,4 @@ -## skip-the-line +## AddFront ### Instructions @@ -7,7 +7,7 @@ Write a function that receives a string and a slice of strings. Return a new sli ### Expected function ```go -func SkipTheLine(s string, slice []string) []string { +func AddFront(s string, slice []string) []string { // your code here } ``` @@ -22,9 +22,9 @@ package main import "fmt" func main() { - fmt.Println(SkipTheLine("Hello", []string{"world"})) - fmt.Println(SkipTheLine("Hello", []string{"","world", "!"})) - fmt.Println(SkipTheLine("Hello", []string{})) + fmt.Println(AddFront("Hello", []string{"world"})) + fmt.Println(AddFront("Hello", []string{"","world", "!"})) + fmt.Println(AddFront("Hello", []string{})) } ```