iface

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Iface

type Iface struct {
	IfaceName string

	StructName string

	PackageName string

	ImportStr string

	Methods []Method

	Content string

	Star string

	OutFile string
	// contains filtered or unexported fields
}

func (*Iface) FindIface

func (this *Iface) FindIface(ifacePath string, ifaceName string) error

func (*Iface) Process

func (this *Iface) Process() error

func (*Iface) Run

func (this *Iface) Run(v *viper.Viper) error

func (*Iface) Write

func (this *Iface) Write() error

type Method

type Method struct {
	FuncName string

	ArgStr string

	ReturnStr string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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