Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc: Expand and organize Decorate documentation (#858)
This elaborates on the documentation for fx.Decorate with more examples, and organizes it into two sections: - Decorator functions, enumerating the various signatures a decorator function can have - Decorator scope, explaining how decorator changes are scoped Added demonstrative examples for everything. In the future, we can turn some of these into example tests. Refs GO-1254
- Loading branch information
Showing
1 changed file
with
108 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters