interfacetemplate

package
v0.0.0-...-d37067d Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Template

type Template struct {
	PackageName   string
	InterfaceName string
	Imports       []string
	Methods       []methodtemplate.MethodTemplate
	// contains filtered or unexported fields
}

func NewTemplate

func NewTemplate(pkgName, interfaceName string, methods []models.Method, path string) *Template

func (*Template) GenerateFile

func (t *Template) GenerateFile(fileMgr *filemanager.FileManager)

Jump to

Keyboard shortcuts

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