Skip to content

Releases: jauhararifin/gomocker

v1.0.5

30 Nov 02:03
7e6b449
Compare
Choose a tag to compare

Fix issue when the package name contains underscore

v1.0.3

10 Jul 02:41
Compare
Choose a tag to compare

Changelog

8f61a4d Merge branch 'master' into support-embedded-interface
036322c add embedded interface example
b3ebf74 implements embedded interface support
ab707bd fix linter problems
33b950f resolve current directory to get default package

v1.0.1

31 May 01:25
Compare
Choose a tag to compare

Changelog

59c84e3 consider resolving from goroot
bb9b2ef using whereis to get go install dir
acb6d5f update version
1cbbcce fix bug: failed to parse when having qual type from own package
f47752b add shorthand syntax to generate multiple mocker in the same package

v1.0.0

30 May 13:13
Compare
Choose a tag to compare

Changelog

225ce4f fix version
5ad40f0 add automatic file finding
fc823a8 fix local variable naming
d998dc4 clean up codes
c1bfe0a add invocation struct separately
f534bc2 use generic type instead of ast
e2ddb27 fix debug info
9df6977 hardcode the version
f977ef4 add buildinfo check
0c7a703 fix install script
100523f fix the version string

v0.1.0

02 May 03:04
Compare
Choose a tag to compare

Changelog

dd41073 add release workflow
4d187db add version in main package
ab554d8 fix issue when generating mock for empty interface; and change the default output from _mock.go into _mock_gen.go
003c33e add namer for interface mocker
38c9820 fix small bug when parsing int
a00aa15 add readme
973511a fix small bug when parsing empty struct and interface
6bfe8d8 fix small bug when parsing empty struct and interface
7ac8a6e remove unused dependency
3db334d remove unused test
76f0c40 add interface support
c7c6776 propagating error using value instead of panic
959b378 migrate to go ast instead of reflect
6ae06a4 generate struct by its name
10885e3 fix utils
cf6bea9 Better error type handling
8c97ee7 Fix struct generator bug
ddf9978 Simplify example go generate commands
e160a98 Add clearer error message when parsing output file
19a976f Fix bug when parsing output file
7aed344 Fix bugs
e20f0ca Add output parsing mechanishm for go generate
019c9ac fix examples
382f189 Add example adding two numbers
d0c119c make gomocker become library independent
940a29f Fix variadic bugs
9ea1d1b Simplify mocker
55aee78 test service mocker
dfd5ae9 add go:generate command example
5345607 Add CLI for generating the mocker
1715816 Fix bugs in service mocker constructor
f5127f3 Add support for interface and function type
ea85a72 remove root examples
9188696 Add gomockergen executable to create generator
6a93d9f fix generator and add example
3b108c6 add generator function
accd244 Merge branch 'master' of github.com:jauhararifin/gomocker
accbf36 Init code generator logic
cc341c5 Create go.yml workflow
3d100b4 Add simple function mocker