Autocomplete
for Go code (fantastically) suggests functions and helpfully shows the documentation for the function, e.g. arguments and return types.
If I hit tab
, the DialHTTP
function is inserted.
My question: is it possible to insert a "template" of the argument call? Since autocomplete
shows the arguments, I would like to have this line inserted when I press tab
:
client, err := rpc.DialHTTP(network, address)
Then I can replace the arguments with my arguments.