Setting up directory structure and setting up dummy libraries.

master
Patrick Kuti 10 years ago
parent 00207ac7ef
commit b8a803ab06

4
.gitignore vendored

@ -1 +1,3 @@
./bin/
finspect.sublime-project
finspect.sublime-workspace
bin/

@ -0,0 +1,20 @@
package main
import (
"flag"
"fmt"
"os"
"path/filepath"
)
func scan(path string, f os.FileInfo, err error) error {
fmt.Printf("Scanned: %s\n", path)
return nil
}
func main() {
flag.Parse()
root := flag.Arg(0)
err := filepath.Walk(root, scan)
fmt.Printf("filepath.Walk() returned %v\n", err)
}
Loading…
Cancel
Save