Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Name-neaten for #1392 #1393

Merged
merged 1 commit into from
Sep 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/src/miller-as-library.md
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down Expand Up @@ -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)
}
Expand Down
4 changes: 2 additions & 2 deletions docs/src/miller-as-library/main2.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down Expand Up @@ -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)
}
Expand Down
Loading