specifications

package
v0.0.0-...-68fcb3e Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2023 License: Unlicense Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CurseSpecification

func CurseSpecification(t testing.TB, meany MeanGreeter)

func GreetSpecification

func GreetSpecification(t testing.TB, greeter Greeter)

Types

type CurseAdapter

type CurseAdapter func(name string) string

func (CurseAdapter) Curse

func (c CurseAdapter) Curse(name string) (string, error)

type GreetAdapter

type GreetAdapter func(name string) string

func (GreetAdapter) Greet

func (g GreetAdapter) Greet(name string) (string, error)

type Greeter

type Greeter interface {
	Greet(name string) (string, error)
}

type MeanGreeter

type MeanGreeter interface {
	Curse(name string) (string, error)
}

Jump to

Keyboard shortcuts

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