Hello world example

This commit is contained in:
2026-03-15 21:40:28 +01:00
commit 86996b4887
3 changed files with 26 additions and 0 deletions

12
hello_test.go Normal file
View File

@@ -0,0 +1,12 @@
package main
import "testing"
func TestHello(t *testing.T) {
got := Hello("Hoborg")
want := "Hello, Hoborg"
if got != want {
t.Errorf("got %q want %q", got, want)
}
}