Skip to content

Instantly share code, notes, and snippets.

@ivanzoid
Last active January 12, 2019 12:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ivanzoid/f091de39c2acf28459b3465a7c0e0949 to your computer and use it in GitHub Desktop.
Save ivanzoid/f091de39c2acf28459b3465a7c0e0949 to your computer and use it in GitHub Desktop.
package main
import (
"log"
"os"
"path/filepath"
)
func main() {
searchDir, err := os.Getwd()
if err != nil {
log.Fatal(err)
}
err = filepath.Walk(searchDir, processFile)
}
func processFile(path string, fileInfo os.FileInfo, err error) error {
return nil
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment