diff options
| author | Kaushal Subedi | 2015-10-27 20:04:17 -0600 |
|---|---|---|
| committer | Kaushal Subedi | 2015-10-27 20:04:17 -0600 |
| commit | accb140e81998d3630825d7e236f603e43d5cf07 (patch) | |
| tree | 2498e2cb89cc38e9a3a59bd3760341bd6e18a720 | |
| parent | 743122fbff6911da22d505adb50e0e9ff8a0d104 (diff) | |
| download | gomove-accb140e81998d3630825d7e236f603e43d5cf07.tar.bz2 | |
added comments
| -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") |
