go-gof-patterns

command module
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2020 License: MIT Imports: 1 Imported by: 0

README

Build Status

go-gof-patterns

Builder

When construction gets a bit too complicated

Factory

Ways of controlling how an object is constructed

Factory

When it's easier to copy an existing object to fully initialize a new one

Singleton

A component which is instantiated only once

Adapter

Getting the interface you want from the interface you have

Builder

Connecting components together through abstractions

Composition

Treating individual and aggreage objects uniformly

Decorator

Adding behavior without altering the type itself

Facade

Exposing several components through a single interface

P.s. The original course is here extended with tests by me

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
factories
prototype
singleton
db

Jump to

Keyboard shortcuts

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