From a2fdd8244949720fe2f99fb7d88c988b5bf1a1e2 Mon Sep 17 00:00:00 2001 From: Boris Ershov Date: Wed, 22 May 2024 16:39:23 +0700 Subject: [PATCH] fix(#3): Fix function and struct names --- routines/anonymizer/anonymizer.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/routines/anonymizer/anonymizer.go b/routines/anonymizer/anonymizer.go index 6bbe3a7..3b63020 100644 --- a/routines/anonymizer/anonymizer.go +++ b/routines/anonymizer/anonymizer.go @@ -19,7 +19,7 @@ import ( progressreader "github.com/nixys/nxs-data-anonymizer/modules/progress_reader" ) -type anomymizeSettings struct { +type anonymizeSettings struct { c context.Context l *logrus.Logger pr *progressreader.ProgressReader @@ -55,8 +55,8 @@ func Runtime(app appctx.App) error { timer.Stop() } - if err := anomymize( - anomymizeSettings{ + if err := anonymize( + anonymizeSettings{ c: cx, l: cc.Log, pr: pr, @@ -112,7 +112,7 @@ func Runtime(app appctx.App) error { } } -func anomymize(st anomymizeSettings) error { +func anonymize(st anonymizeSettings) error { // Anonymizer reader var ar io.Reader