From 426d118f86858b29488c7ab1efa3fdc2c7255458 Mon Sep 17 00:00:00 2001 From: lee Date: Tue, 18 Jun 2019 16:14:54 +0100 Subject: [PATCH] fix rot14 hackaton --- subjects/rot14.en.md | 5 +++-- subjects/rot14.fr.md | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/subjects/rot14.en.md b/subjects/rot14.en.md index ca3fe12b4..377ca09bf 100644 --- a/subjects/rot14.en.md +++ b/subjects/rot14.en.md @@ -9,7 +9,7 @@ Write a function `rot14` that returns the string within the parameter but transf ### Expected function ```go -func rot14(str string) string { +func Rot14(str string) string { } ``` @@ -22,11 +22,12 @@ Here is a possible [program](TODO-LINK) to test your function : package main import ( + piscine ".." "github.com/01-edu/z01" ) func main() { - result := rot14("Hello How are You") + result := piscine.Rot14("Hello How are You") arrayRune := []rune(result) for _, s := range arrayRune { diff --git a/subjects/rot14.fr.md b/subjects/rot14.fr.md index ca3fe12b4..377ca09bf 100644 --- a/subjects/rot14.fr.md +++ b/subjects/rot14.fr.md @@ -9,7 +9,7 @@ Write a function `rot14` that returns the string within the parameter but transf ### Expected function ```go -func rot14(str string) string { +func Rot14(str string) string { } ``` @@ -22,11 +22,12 @@ Here is a possible [program](TODO-LINK) to test your function : package main import ( + piscine ".." "github.com/01-edu/z01" ) func main() { - result := rot14("Hello How are You") + result := piscine.Rot14("Hello How are You") arrayRune := []rune(result) for _, s := range arrayRune {