day440

package
v0.0.0-...-36687a4 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AskPolymorph

func AskPolymorph(poly Polymorph) string

AskPolymorph queries the poly how it does it.

Types

type Industrious

type Industrious struct {
}

Industrious can 'DoIt' in a productive way.

func (Industrious) DoIt

func (i Industrious) DoIt() string

DoIt from Industrious.

type Polymorph

type Polymorph interface {
	DoIt() string
}

Polymorph is a thing that can 'DoIt' but specifics are based on implementation.

type Sloth

type Sloth struct {
}

Sloth can 'DoIt' in a relaxed way.

func (Sloth) DoIt

func (s Sloth) DoIt() string

DoIt from a Sloth.

Jump to

Keyboard shortcuts

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