From b0a20322b0bb048faff48ee5771483b8e57c433e Mon Sep 17 00:00:00 2001 From: John Kerl Date: Sun, 10 Sep 2023 19:50:41 -0400 Subject: [PATCH] Name-neaten for #1392 --- docs/src/miller-as-library.md | 4 ++-- docs/src/miller-as-library/main2.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/src/miller-as-library.md b/docs/src/miller-as-library.md index 3b337852fa..c17872ba02 100644 --- a/docs/src/miller-as-library.md +++ b/docs/src/miller-as-library.md @@ -125,7 +125,7 @@ func custom_options() *cli.TOptions { } // This function you don't need to modify. -func convert_csv_to_json( +func run_custom_processor( fileNames []string, options *cli.TOptions, record_processor func (irac *types.RecordAndContext) (*types.RecordAndContext, error), @@ -204,7 +204,7 @@ func convert_csv_to_json( func main() { options := custom_options() - err := convert_csv_to_json(os.Args[1:], options, custom_record_processor) + err := run_custom_processor(os.Args[1:], options, custom_record_processor) if err != nil { fmt.Fprintf(os.Stderr, "%v\n", err) } diff --git a/docs/src/miller-as-library/main2.go b/docs/src/miller-as-library/main2.go index e4be222d57..c460a174aa 100644 --- a/docs/src/miller-as-library/main2.go +++ b/docs/src/miller-as-library/main2.go @@ -46,7 +46,7 @@ func custom_options() *cli.TOptions { } // This function you don't need to modify. -func convert_csv_to_json( +func run_custom_processor( fileNames []string, options *cli.TOptions, record_processor func (irac *types.RecordAndContext) (*types.RecordAndContext, error), @@ -125,7 +125,7 @@ func convert_csv_to_json( func main() { options := custom_options() - err := convert_csv_to_json(os.Args[1:], options, custom_record_processor) + err := run_custom_processor(os.Args[1:], options, custom_record_processor) if err != nil { fmt.Fprintf(os.Stderr, "%v\n", err) }