O'Reilly logo
  • Raymond Mintz thinks this is interesting:

filepath.Walk(".", func(path string, info os.FileInfo, err error) error { fmt.Println(path) ...

From

Cover of Introducing Go

Note

study the func argument