I\'m using docopt to parse command-line arguments. This works, and it results in a map, such as
map[:www.google.de :80 --help:false --ver
You don't need to use a type assertion, instead just use the %v format specifier with Sprintf:
%v
Sprintf
hostAndPort := fmt.Sprintf("%v:%v", arguments[""], arguments[""])