initial commit

This commit is contained in:
Karli
2025-09-18 18:36:15 +03:00
commit 8744935ee8
5 changed files with 94 additions and 0 deletions

21
hello/hello.go Normal file
View File

@@ -0,0 +1,21 @@
package main
import (
"fmt"
"log"
"example.com/greetings"
)
func main() {
log.SetPrefix("greetings: ")
log.SetFlags(0)
names := []string{"Gladys", "Samantha", "Darrin"}
messages, err := greetings.Hellos(names)
if err != nil {
log.Fatal(err)
}
fmt.Println(messages)
}