feat(firstword): add main.go

This commit is contained in:
nprimo 2024-06-06 09:58:24 +01:00 committed by Harry
parent 252325d993
commit a15dcbf446
1 changed files with 12 additions and 0 deletions

View File

@ -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"))
}