Re: [go-nuts] dynamic number of arguments

2020-03-19 Thread yvonne12
Thank you for the advice! It worked. On Friday, March 20, 2020 at 11:29:20 AM UTC+11, Ian Lance Taylor wrote: > > On Thu, Mar 19, 2020 at 5:21 PM > > wrote: > > > > I have an array and the length of this array is dynamic. I want to pass > this array's values as a list of parameters to a functi

Re: [go-nuts] dynamic number of arguments

2020-03-19 Thread Ian Lance Taylor
On Thu, Mar 19, 2020 at 5:21 PM wrote: > > I have an array and the length of this array is dynamic. I want to pass this > array's values as a list of parameters to a function. Can you please suggest > what is a good way to do this? > > > For example, func(query string, args ...interface{}). My