我试图从返回的字符串转换flag.Arg(n)成int.在Go中这样做的惯用方法是什么?
flag.Arg(n)
int
string type-conversion go
go ×1
string ×1
type-conversion ×1