//
pkg.gl
Category
github.com/go-leo/design-pattern
decorator
package
1.3.2
Repository:
https://github.com/go-leo/design-pattern.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
0
Dependents
1
Files
14 SLOC
#
Functions
Chain
Chain decorates the given object with all middlewares.
#
Interfaces
Decorator
Decorator allows us to write something like decorators to component.
#
Type aliases
Func
Func is an adapter to allow the use of ordinary functions as Decorator.