code: func NewResourceGenerator(primaryUrl string, fragmentUrls map[string]string) (*ResourceGenerator, error) {
  
  	rg := &ResourceGenerator{
  		primaryUrl:   primaryUrl,
  		fragmentUrls: fragmentUrls,
  		Results: &ResourceGeneratorResults{
  			UpdatedResources: map[string]string{},
  			AllResources:     map[string]string{},
  			UpdatedSchemas:   map[string]string{},
  			ProcessedCount:   0,
  		},
  	}
  
  	return rg, nil
  }
docs: // NewResourceGenerator contains a primary AWS CloudFormation Resource Specification
  // document and an array of fragment Resource Specification documents (such as transforms),
  // and generates Go structs and a JSON Schema from them.
  // The input can be a mix of URLs (https://) or files (file://).