This commit is contained in:
2026-03-19 20:08:03 +03:00
commit a9bac50ecf
2 changed files with 14 additions and 0 deletions

3
go.mod Normal file
View File

@@ -0,0 +1,3 @@
module git.tsivinsky.com/tsivinsky/hello
go 1.26.1

11
hello.go Normal file
View File

@@ -0,0 +1,11 @@
package hello
import "fmt"
func Hello(name string) string {
return fmt.Sprintf("Hello, %s!", name)
}
func SayHello(name string) {
fmt.Printf("%s\n", Hello(name))
}