Skip to content

Commit b391e90

Browse files
authored
Update cat.go
1 parent 0c1fae5 commit b391e90

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

cat.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ import (
1212
"github.com/lu4p/cat/rtftxt"
1313
)
1414

15+
var test string
16+
1517
// File reads a .odt, .docx, .rtf or plaintext file and returns the content as a string
1618
func File(filename string) (string, error) {
1719
content, err := ioutil.ReadFile(filename)
@@ -37,3 +39,4 @@ func FromBytes(data []byte) (string, error) {
3739
return plaintxt.BytesToStr(data)
3840
}
3941
}
42+

0 commit comments

Comments
 (0)