diff --git a/bin.go b/bin.go deleted file mode 100644 index 1bdf78d..0000000 --- a/bin.go +++ /dev/null @@ -1,27 +0,0 @@ -package main - -import ( - "os" - "io/ioutil" - "fmt" -) - -func processFile(filename string) { - file, err := ioutil.ReadFile(filename) - - if err != nil { - panic(err) - } - - typeprint(string(file)) -} - -func main() { - args := os.Args[1:] - - if len(args) == 1 { - processFile(args[0]) - } else { - fmt.Println("needs a file to process") - } -} diff --git a/go/bin.go b/go/typeprint.go similarity index 100% rename from go/bin.go rename to go/typeprint.go