code: func NewConnectResults(results ...ConnectResult) ConnectAttemptResults {
  	mapResults := make(map[Attempt]ConnectResult)
  	for _, r := range results {
  		mapResults[r.Attempt] = r
  	}
  	return mapResults
  }
docs: // NewConnectResults returns a new ConnectAttemptResults