From 53e4b4580ca16250da399f9bd0426d22bb341571 Mon Sep 17 00:00:00 2001 From: Carlos Hung Date: Fri, 16 Dec 2022 06:54:41 -0800 Subject: [PATCH 1/2] Flip the input args --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index bd1905e..9dcf1e7 100644 --- a/main.go +++ b/main.go @@ -25,8 +25,8 @@ func main() { os.Exit(1) } - inputPath := flag.Args()[0] - sensitiveFieldsPath := flag.Args()[1] + sensitiveFieldsPath := flag.Args()[0] + inputPath := flag.Args()[1] // scrub the input file for the given sensitive fields output, err := ScrubPersonalInfo(inputPath, sensitiveFieldsPath) From 461fc11428f67958d1fbdaf2b7a7ab1ab57e0b52 Mon Sep 17 00:00:00 2001 From: Carlos Hung Date: Fri, 16 Dec 2022 07:01:38 -0800 Subject: [PATCH 2/2] Change command to `scrub` --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 5539eec..f15f5ee 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module scrub-pii +module scrub go 1.19