remove extraneous open fn

parent ff9cd6d6
...@@ -14,7 +14,3 @@ func tempFile(dir, pattern string) (*os.File, error) { ...@@ -14,7 +14,3 @@ func tempFile(dir, pattern string) (*os.File, error) {
func readFile(filename string) ([]byte, error) { func readFile(filename string) ([]byte, error) {
return ioutil.ReadFile(filename) return ioutil.ReadFile(filename)
} }
func open(name string) (*os.File, error) {
return os.Open(name)
}
...@@ -91,7 +91,3 @@ func readFile(filename string) ([]byte, error) { ...@@ -91,7 +91,3 @@ func readFile(filename string) ([]byte, error) {
return ioutil.ReadAll(f) return ioutil.ReadAll(f)
} }
func open(name string) (*os.File, error) {
return goissue34681.Open(name)
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment