example2

command
v0.0.0-...-e636a3f Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2017 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

This is an example of using composition and interfaces. This is something we want to do in Go. We will group common types by their behavior and not by their state. This pattern does provide a good design principle in a Go program.

Jump to

Keyboard shortcuts

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