f744996556
Signed-off-by: Tanguy ⧓ Herrmann <tanguy@dagger.io>
17 lines
194 B
Go
17 lines
194 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"os"
|
|
|
|
"dagger.io/testgreetci/greeting"
|
|
)
|
|
|
|
func main() {
|
|
name := os.Getenv("NAME")
|
|
if name == "" {
|
|
name = "John Doe"
|
|
}
|
|
fmt.Printf(greeting.Greeting(name))
|
|
}
|