writer

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2018 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Write

func Write(data *parser.MockData, qualify bool) (string, error)

Types

type FuncDef

type FuncDef struct {
	ServiceName  string
	Name         string
	Signature    string
	Return       string
	Args         string
	ReturnValues string
}

func (FuncDef) String

func (fd FuncDef) String() string

type TemplateData

type TemplateData struct {
	Qualify     bool
	Package     string
	ServiceName string
	FuncDefs    []*FuncDef
}

Jump to

Keyboard shortcuts

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