facade

package
v0.0.0-...-d9f233c Latest Latest
Warning

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

Go to latest
Published: May 5, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

  Facade 外观模式:
        为子系统中的一组接口提供一个一致的界面,此模式定义了一个高层接口,
		这个接口使得这一子系统更加容易使用(投资:基金,股票,房产)
 个人想法:中介者模式、外观模式:每个对象都保存一份中介者对象,
        在和其他对象交互时,通过中介者来完成,外观模式:外观中保存了一堆对象,
		这些对象或者是组成某个子系统的,将其封装在外观对象中,给客户端一种只有一个对象的感觉,
		一个是结构型模式,一个是行为性模式

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFacade

func NewFacade(i int, f float32, str string) *facade

Types

This section is empty.

Jump to

Keyboard shortcuts

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