command go: merge go command from upstream

Signed-off-by: Du Huanpeng <u74147@gmail.com>