Re: [go-nuts] Query on using Closures

2021-06-06 Thread Jan Mercl
On Sun, Jun 6, 2021 at 8:44 PM 'Suveetha Kamatchi' via golang-nuts wrote: Please post code as plain text, no colors, no inverted schema in particular. Or share code via a link at play.golang.org, thank you. -- You received this message because you are subscribed to the Google Groups "golang-nu

[go-nuts] Query on using Closures

2021-06-06 Thread 'Suveetha Kamatchi' via golang-nuts
Hi team I am a newbie to golang. I am writing a code that does transactions in postgres. The list of queries to be executed under one transaction is gathered across multiple handler code. The way I am maintaining the query structure is as follows type TxQuery struct { function TxFunc data t