Dot dot dot in Go
September 22, 2022The dot dot dot, ...
, before a type is a “variadic parameter”. Essentially allows for a variable number of arguments to be passed into the function.
The dot dot dot, ...
, before a type is a “variadic parameter”. Essentially allows for a variable number of arguments to be passed into the function.