diff options
| -rw-r--r-- | ast.go | 1 | ||||
| -rw-r--r-- | native.go | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -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 @@ -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") |
