mirror of https://github.com/01-edu/public.git
feat(firstword): add main.go
This commit is contained in:
parent
252325d993
commit
a15dcbf446
|
@ -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"))
|
||||||
|
}
|
Loading…
Reference in New Issue