I'm writing a go application that writes values to a file.
However, I want the location of that file to be determined at runtime (i.e. not set as part of the application code).
I have create a test client for the application and I want the client to tell the application which file it should write to.
Can anyone tell me how I would go about this in Go?
Thanks,
Sean