Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRootCmd

func GetRootCmd(args []string, printf, fatalf shared.FormatFn) *cobra.Command

GetRootCmd returns the root of the cobra command-tree.

Types

type Generator

type Generator struct {
	OutInterfacePath   string
	OAugmentedTmplPath string
	ImptMap            map[string]string
}

Generator generates Go interfaces for adapters to implement for a given Template.

func (*Generator) Generate

func (g *Generator) Generate(fdsFile string) error

Generate creates a Go interfaces for adapters to implement for a given Template.