cmd

package
v0.0.0-...-46d7da7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 20, 2018 License: Apache-2.0 Imports: 19 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL