From a15dcbf44612e380dfbefc920a09af4fa38832b8 Mon Sep 17 00:00:00 2001 From: nprimo Date: Thu, 6 Jun 2024 09:58:24 +0100 Subject: [PATCH] feat(firstword): add main.go --- subjects/firstword/main.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 subjects/firstword/main.go diff --git a/subjects/firstword/main.go b/subjects/firstword/main.go new file mode 100644 index 000000000..cb4dbe631 --- /dev/null +++ b/subjects/firstword/main.go @@ -0,0 +1,12 @@ +package main + +import ( + "fmt" + "piscine" +) + +func main() { + fmt.Print(piscine.FirstWord("hello there")) + fmt.Print(piscine.FirstWord("")) + fmt.Print(piscine.FirstWord("hello ......... bye")) +}