I have a preexisting custom golang benchmark program; It runs benchmraks using testing.Benchmark on a collection of functions.
This program uses cobra for input parameters.
How do I use testing flags in the benchmarks?
I cannot see a way to set them in the code explicitly, and I can't get command line options to work.