Versions in this module Expand all Collapse all v0 v0.0.3 Nov 4, 2020 v0.0.2 Oct 11, 2020 Changes in this version + const TEMPLATE_SUFFIX + func GetTypeName(n ast.Node) string + type AWSInterfaceVisitor struct + func NewAWSInterfaceVisitor(fileSet *token.FileSet) *AWSInterfaceVisitor + func (g *AWSInterfaceVisitor) String() string + func (g *AWSInterfaceVisitor) Visit(node ast.Node) ast.Visitor + type AWSSDKDefinition struct + Services []*InterfaceDefinition + Version string + type AWSStructVisitor struct + Current *StructDefinition + Structs []*StructDefinition + func NewAWSStructVisitor(fileSet *token.FileSet, packageName string) *AWSStructVisitor + func (g *AWSStructVisitor) String() string + func (g *AWSStructVisitor) Visit(node ast.Node) ast.Visitor + type FieldDefinition struct + Name string + Type string + type InterfaceDefinition struct + ID string + Methods []*MethodDefinition + Name string + func ParseAwsSdk(serviceName string) ([]*InterfaceDefinition, error) + func (i InterfaceDefinition) Imports() []string + func (i InterfaceDefinition) String() string + type MethodDefinition struct + Input *StructDefinition + Name string + Output *StructDefinition + func (m *MethodDefinition) String() string + type MultiFileWriter struct + func (m *MultiFileWriter) Close() + func (m *MultiFileWriter) SetCurrentFile(name string) error + func (m *MultiFileWriter) Write(p []byte) (n int, err error) + type StructDefinition struct + Fields map[string]*FieldDefinition + Name string + Package string + func NewStructDefinition(pkg, name string) *StructDefinition + func (s *StructDefinition) HasField(fieldName string) bool + type TemporalAWSGenerator struct + TemplateDir string + func NewGenerator(templateDir string) *TemporalAWSGenerator + func (g *TemporalAWSGenerator) GenerateCode(outputDir string, definitions []*InterfaceDefinition) error