From d3a7d7a0a83916e78bfbc0782b6d07dc9ae3082b Mon Sep 17 00:00:00 2001 From: k1574 Date: Sun, 20 Feb 2022 09:02:39 +0500 Subject: [PATCH] cat: Cat function is now public. --- cat/cat.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cat/cat.go b/cat/cat.go index 49bf202..f3eb0f0 100644 --- a/cat/cat.go +++ b/cat/cat.go @@ -11,7 +11,7 @@ var( blockSize int ) -func cat(p string) error { +func Cat(p string) error { f, e := os.Open(p) if e != nil { return e