Versions in this module Expand all Collapse all v0 v0.2.1 Oct 1, 2022 v0.2.0 Oct 1, 2022 Changes in this version type Parameters + IncludeNames []string v0.1.0 Aug 24, 2022 Changes in this version + func LintName(name string) (should string) + type Config struct + IncludeCodeGeneratedComment bool + Packages []Parameters + SkipObjects []string + SkipRelationshipGlobal map[string]bool + SoapTypes map[string]string + StructOverrides map[string]*Override + func (cfg *Config) CreateJob(ctx context.Context, sv *salesforce.Service) (*Job, error) + func (cfg *Config) MakeSource(ctx context.Context, sv *salesforce.Service, tmpl *template.Template) (map[string][]byte, error) + func (cfg *Config) MakeTemplateData(ctx context.Context, sv *salesforce.Service) ([]*TemplateData, error) + func (cfg *Config) ReadSObjectDescriptions(ctx context.Context, sv *salesforce.Service) (*Job, error) + type Duplicate struct + Fields []DuplicateField + GoName string + Label string + MatchingAPIName string + type DuplicateField struct + APIName string + GoName string + Label string + MatchingAPIName string + type ErrorList []error + func (el ErrorList) Error() string + type Field struct + APIName string + Comment string + GoName string + GoType string + Relationship *Field + Tag string + type FldOverride struct + IsPointer bool + Name string + SkipRelationship bool + type Job struct + Duplicates map[*Parameters]map[string]*Duplicate + Include map[*Parameters]*regexp.Regexp + InstanceName string + ObjMap map[string]salesforce.SObjectDefinition + Replace map[*Parameters]*regexp.Regexp + ReplaceText map[*Parameters]string + StructMap map[*Parameters][]Struct + TypeMap map[string]string + func (job *Job) AssignSObjects(ctx context.Context, sv *salesforce.Service, obj salesforce.SObjectDefinition) error + func (job *Job) Match(p *Parameters, obj *salesforce.SObjectDefinition) bool + func (job *Job) Struct(p *Parameters, objdef *salesforce.SObjectDefinition) *Struct + func (job *Job) TemplateData(p *Parameters) *TemplateData + type Override struct + AssociateEntityName string + Fields map[string]FldOverride + Name string + func (o *Override) Field(fx salesforce.Field, goName string, typeNm string, skipRelationship bool) *Field + func (o *Override) FieldOverride(nm, lbl string) *FldOverride + func (o *Override) GoName(nm string) string + type Parameters struct + AssociatedIdentityType string + Description string + GoFilename string + Include map[string]bool + IncludeCustom bool + IncludeMatch string + IncludeStandard bool + Name string + ReplaceMatch string + ReplaceWith string + UseLabel bool + func (p *Parameters) GoName(objdef *salesforce.SObjectDefinition) string + func (p *Parameters) Validate() (*regexp.Regexp, *regexp.Regexp, string, error) + type Struct struct + APIName string + AssociatedEntity string + FieldProps []*Field + GoName string + KeyPrefix string + Label string + Readonly bool + Receiver string + type TemplateData struct + Description string + Duplicates string + GoFilename string + IncludeCodeGeneratedComment bool + Instance string + Name string + Structs []Struct