Documentation
¶
Overview ¶
Package main implements the goderive binary. This pulls in all the plugins, parses the flags and runs the generators using the derive library.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package derive is the code generator library used by all plugins.
|
Package derive is the code generator library used by all plugins. |
|
example
|
|
|
gogenerate
Example: gogenerate shows us how to call goderive using gogenerate instead of using a Makefile.
|
Example: gogenerate shows us how to call goderive using gogenerate instead of using a Makefile. |
|
plugin/cmd/goderive-genreadme
command
goderive-genreadme replaces two blocks of go code in a Readme.md with the contents of a normal go file and the contents of a generated derived.gen.go file respectively.
|
goderive-genreadme replaces two blocks of go code in a Readme.md with the contents of a normal go file and the contents of a generated derived.gen.go file respectively. |
|
pluginprefix
Example: pluginprefix shows how to defined a derived function that does not have to start with default "deriveEqual" prefix.
|
Example: pluginprefix shows how to defined a derived function that does not have to start with default "deriveEqual" prefix. |
|
prefix
Example: prefix shows how to defined a derived function that does not have to start with default "deriveEqual" prefix.
|
Example: prefix shows how to defined a derived function that does not have to start with default "deriveEqual" prefix. |
|
talk/01_min
command
|
|
|
talk/02_min
command
|
|
|
talk/03_sort
command
|
|
|
talk/04_range
command
|
|
|
talk/05_prefix
command
|
|
|
talk/06_mem
command
|
|
|
talk/07_fib
command
|
|
|
talk/08_hash
command
|
|
|
talk/09_autoname
command
|
|
|
talk/10_dup
command
|
|
|
plugin
|
|
|
all
Package all contains the implementation of the all plugin, which generates the deriveAll function.
|
Package all contains the implementation of the all plugin, which generates the deriveAll function. |
|
any
Package any contains the implementation of the any plugin, which generates the deriveAny function.
|
Package any contains the implementation of the any plugin, which generates the deriveAny function. |
|
apply
Package apply contains the implementation of the apply plugin, which generates the deriveApply function.
|
Package apply contains the implementation of the apply plugin, which generates the deriveApply function. |
|
clone
Package clone contains the implementation of the clone plugin, which generates the deriveClone function.
|
Package clone contains the implementation of the clone plugin, which generates the deriveClone function. |
|
compare
Package compare contains the implementation of the compare plugin, which generates the deriveCompare function.
|
Package compare contains the implementation of the compare plugin, which generates the deriveCompare function. |
|
compose
Package compose contains the implementation of the compose plugin, which generates the deriveCompose function.
|
Package compose contains the implementation of the compose plugin, which generates the deriveCompose function. |
|
contains
Package contains contains the implementation of the contains plugin, which generates the deriveContains function.
|
Package contains contains the implementation of the contains plugin, which generates the deriveContains function. |
|
curry
Package curry contains the implementation of the curry plugin, which generates the deriveCurry function.
|
Package curry contains the implementation of the curry plugin, which generates the deriveCurry function. |
|
deepcopy
Package deepcopy contains the implementation of the deepcopy plugin, which generates the deriveDeepCopy function.
|
Package deepcopy contains the implementation of the deepcopy plugin, which generates the deriveDeepCopy function. |
|
do
Package do contains the implementation of the do plugin, which generates the deriveDo function.
|
Package do contains the implementation of the do plugin, which generates the deriveDo function. |
|
dup
Package dup contains the implementation of the dup plugin, which generates the deriveDup function.
|
Package dup contains the implementation of the dup plugin, which generates the deriveDup function. |
|
equal
Package equal contains the implementation of the equal plugin, which generates the deriveEqual function.
|
Package equal contains the implementation of the equal plugin, which generates the deriveEqual function. |
|
filter
Package filter contains the implementation of the filter plugin, which generates the deriveFilter function.
|
Package filter contains the implementation of the filter plugin, which generates the deriveFilter function. |
|
flip
Package flip contains the implementation of the flip plugin, which generates the deriveFlip function.
|
Package flip contains the implementation of the flip plugin, which generates the deriveFlip function. |
|
fmap
Package fmap contains the implementation of the fmap plugin, which generates the deriveFmap function.
|
Package fmap contains the implementation of the fmap plugin, which generates the deriveFmap function. |
|
gostring
Package gostring contains the implementation of the gostring plugin, which generates the deriveGoString function.
|
Package gostring contains the implementation of the gostring plugin, which generates the deriveGoString function. |
|
hash
Package hash contains the implementation of the hash plugin, which generates the deriveHash function.
|
Package hash contains the implementation of the hash plugin, which generates the deriveHash function. |
|
intersect
Package intersect contains the implementation of the intersect plugin, which generates the deriveIntersect function.
|
Package intersect contains the implementation of the intersect plugin, which generates the deriveIntersect function. |
|
join
Package join contains the implementation of the join plugin, which generates the deriveJoin function.
|
Package join contains the implementation of the join plugin, which generates the deriveJoin function. |
|
keys
Package keys contains the implementation of the keys plugin, which generates the deriveKeys function.
|
Package keys contains the implementation of the keys plugin, which generates the deriveKeys function. |
|
max
Package max contains the implementation of the max plugin, which generates the deriveMax function.
|
Package max contains the implementation of the max plugin, which generates the deriveMax function. |
|
mem
Package mem contains the implementation of the mem plugin, which generates the deriveMem function.
|
Package mem contains the implementation of the mem plugin, which generates the deriveMem function. |
|
min
Package min contains the implementation of the min plugin, which generates the deriveMin function.
|
Package min contains the implementation of the min plugin, which generates the deriveMin function. |
|
pipeline
Package pipeline contains the implementation of the pipeline plugin, which generates the derivePipeline function.
|
Package pipeline contains the implementation of the pipeline plugin, which generates the derivePipeline function. |
|
set
Package set contains the implementation of the set plugin, which generates the deriveSet function.
|
Package set contains the implementation of the set plugin, which generates the deriveSet function. |
|
sort
Package sort contains the implementation of the sort plugin, which generates the deriveSort function.
|
Package sort contains the implementation of the sort plugin, which generates the deriveSort function. |
|
takewhile
Package takewhile contains the implementation of the takewhile plugin, which generates the deriveTakeWhile function.
|
Package takewhile contains the implementation of the takewhile plugin, which generates the deriveTakeWhile function. |
|
toerror
Package toerror contains the implementation of the toerror plugin, which generates the deriveToError function.
|
Package toerror contains the implementation of the toerror plugin, which generates the deriveToError function. |
|
traverse
Package traverse contains the implementation of the traverse plugin, which generates the deriveTraverse function.
|
Package traverse contains the implementation of the traverse plugin, which generates the deriveTraverse function. |
|
tuple
Package tuple contains the implementation of the tuple plugin, which generates the deriveTuple function.
|
Package tuple contains the implementation of the tuple plugin, which generates the deriveTuple function. |
|
uncurry
Package uncurry contains the implementation of the uncurry plugin, which generates the deriveUncurry function.
|
Package uncurry contains the implementation of the uncurry plugin, which generates the deriveUncurry function. |
|
union
Package union contains the implementation of the union plugin, which generates the deriveUnion function.
|
Package union contains the implementation of the union plugin, which generates the deriveUnion function. |
|
unique
Package unique contains the implementation of the unique plugin, which generates the deriveUnique function.
|
Package unique contains the implementation of the unique plugin, which generates the deriveUnique function. |
|
test
|
|
Click to show internal directories.
Click to hide internal directories.