I’m trying to convert a string returned from flag.Arg(n) to an int. What is the idiomatic way to do this in Go? 5 Answers 5 Tags: gostringtype-conversion