hellomock

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Company

type Company struct {
	Usher Talker
}

func NewCompany

func NewCompany(t Talker) *Company

func (*Company) Meeting

func (c *Company) Meeting(guestName string) string

type Person

type Person struct {
	// contains filtered or unexported fields
}

func NewPerson

func NewPerson(name string) *Person

func (*Person) SayHello

func (p *Person) SayHello(name string) (word string)

type Talker

type Talker interface {
	SayHello(word string) (response string)
}

Directories

Path Synopsis
Package mock_hellomock is a generated GoMock package.
Package mock_hellomock is a generated GoMock package.

Jump to

Keyboard shortcuts

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