add chapter 5 and refactor root path

This commit is contained in:
Archie Fox
2025-01-30 19:32:45 +03:00
parent 0f1afec1ad
commit f9af59f4d1
8 changed files with 112 additions and 3 deletions

14
chapter4/hi/main.go~ Normal file
View File

@@ -0,0 +1,14 @@
package main
import (
"fmt"
"headfirstgo/headfirstgo/chapter4/greeting"
)
func main() {
greeting.Hello()
greeting.Hi()
slc := []string{"hello", "world"}
fmt.Printf("%s %T %T", slc[0], slc, true)
}