Initial commit: Go project with greet function and CLI

This commit is contained in:
Gabriel Radureau
2026-04-03 12:20:55 +02:00
commit 3efc1992d5
7 changed files with 201 additions and 0 deletions

17
cmd/greet/main.go Normal file
View File

@@ -0,0 +1,17 @@
package main
import (
"fmt"
"os"
"DanceLessonsCoach/pkg/greet"
)
func main() {
name := ""
if len(os.Args) > 1 {
name = os.Args[1]
}
fmt.Println(greet.Greet(name))
}