aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ast.go1
-rw-r--r--native.go1
2 files changed, 2 insertions, 0 deletions
diff --git a/ast.go b/ast.go
index b71abcf..5259379 100644
--- a/ast.go
+++ b/ast.go
@@ -14,6 +14,7 @@ import (
"golang.org/x/tools/go/ast/astutil"
)
+// ProcessFileAST processes the files using golang's AST parser
func ProcessFileAST(filePath string, from string, to string) {
//Colors to be used on the console
diff --git a/native.go b/native.go
index 92be282..81ee8c8 100644
--- a/native.go
+++ b/native.go
@@ -11,6 +11,7 @@ import (
"github.com/mgutz/ansi"
)
+// ProcessFileNative processes files uing native string search instead of ast parsing
func ProcessFileNative(filePath string, from string, to string) {
//Colors to be used on the console
red := ansi.ColorCode("red+bh")