directory
Version:
v0.0.0-...-3b3435a
Opens a new window with list of versions in this module.
Published: May 10, 2024
License: MIT
Opens a new window with license information.
README
¶
Example generators
Toy examples showing implementation of generators using gopkg
.
Each generator contains their own examples which can be used to tryout each generator; e.g.
cd enumstringergen/example_single_enum
go generate
-
enumstringergen
- Implements the classic stringer generator (with the addition of generating tests for the implementation).
-
interfacegen
- Given an interface, stamps out an empty struct
which implements that interface with stubbed methods (along with tests).
Directories
¶
Click to show internal directories.
Click to hide internal directories.