Back to godoc.org

Package greeter

v1.4.4
Latest Go to latest

The latest major version is .

Published: Jul 28, 2020 | License: Apache-2.0 | Module: github.com/golang/mock

Index

type Greeter

type Greeter struct {
	InputMaker InputMaker
	Client     *client.Client
}

func (*Greeter) Greet

func (g *Greeter) Greet() (string, error)

type InputMaker

type InputMaker interface {
	MakeInput() client.GreetInput
}

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier