code: func userAgent(req *http.Request) {
  	ua := fmt.Sprintf("%s/%s;%s",
  		UserAgentBase,
  		UserAgentVersion,
  		runtime.Version(),
  	)
  	req.Header.Add("User-Agent", ua)
  }
docs: // userAgent add the User-Agent value to the request header.