My question is why I need to add a comma at the the end like this, I was thinking that comma is useless in other language i.e. c#, it seems that my vi editor enforce me to do that, I guess the golang compiler might report error if I missed the comma
client := http.Client{
Timeout: timeout,
}
Any comments?
build environment
centos latest version
golang 1.7.1