decorator/

directory
v0.0.0-...-e2b9e53 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2020 License: BSD-3-Clause

README

  1. Create an interface that contains the method you want to extend.
  2. Create one type which represents the method.
  3. Make an implementation of the method of the interface of 1. for the type of 2.
  4. Create a type Decorator function that contains the interface of 1. as input and as return.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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