Commits


George Godik authored and GitHub committed d3a0ab902ae
ARROW-17277: [Go][CSV] Custom csv.Writer formatter for boolean values (#13774) - Use `WithBoolWriter` to overwrite the default use of `strconv.FormatBool` - uses `strconv.FormatBool` by default - `WithBoolWriter(nil)` will not overwrite default usage ``` w := csv.NewWriter(bytes.NewBuffer(nil), schema, csv.WithBoolWriter(func(b bool) string { if b { return "HELLO" } return "WORLD" })) ``` https://issues.apache.org/jira/browse/ARROW-17277 Authored-by: ggodik <ggodik@factset.com> Signed-off-by: Matt Topol <zotthewizard@gmail.com>