docs: func (o *Operation) GoCode() string {
  	var buf bytes.Buffer
  
  	if len(o.OutputRef.Shape.EventStreamsMemberName) != 0 {
  		o.API.AddSDKImport("aws/client")
  		o.API.AddSDKImport("private/protocol")
  		o.API.AddSDKImport("private/protocol/rest")
  		o.API.AddSDKImport("private/protocol", o.API.ProtocolPackage())
  	}
  
  	if o.API.EndpointDiscoveryOp != nil {
  		o.API.AddSDKImport("aws/crr")
  		o.API.AddImport("time")
  		o.API.AddImport("net/url")
  	}
  
  	if o.Endpoint != nil && len(o.Endpoint.HostPrefix) != 0 {
  		setupEndpointHostPrefix(o)
  	}
  
  	err := operationTmpl.Execute(&buf, o)
  	if err != nil {
  		panic(err)
  	}
  
  	return strings.TrimSpace(buf.String())
  }