hello

package
v1.0.0-beta2 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2017 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 Sayer

type Sayer interface {
	SayHello(person string) string
}

Sayer returns a string that says hello to the person

func NewPoliteSayer

func NewPoliteSayer() Sayer

DIG injection function that provides a polite sayer Function takes no parameters, therefore does not register any dependencies

Jump to

Keyboard shortcuts

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