refine golang function: argv