Some checks failed
CI/CD Pipeline / CI Pipeline (push) Failing after 4m0s
20 lines
246 B
Go
20 lines
246 B
Go
package main
|
|
|
|
import (
|
|
"context"
|
|
"fmt"
|
|
"os"
|
|
|
|
"dance-lessons-coach/pkg/greet"
|
|
)
|
|
|
|
func main() {
|
|
service := greet.NewService()
|
|
name := ""
|
|
if len(os.Args) > 1 {
|
|
name = os.Args[1]
|
|
}
|
|
|
|
fmt.Println(service.Greet(context.Background(), name))
|
|
}
|