This repository has been archived by the owner on Apr 13, 2020. It is now read-only.
Releases: mokiat/gostub
Releases · mokiat/gostub
Version 1.3.0
Version 1.2.0
Minor enhancements
- Output message from
gostub
is now more compact. - A
StubGUID
field is added to stubs which can be used to make two stubs be different. This can be useful when you want to implement a data structure that holds instances of a given interface and want to test that it works.
Version 1.1.0
Improve generated stubs
- A bug regarding type resolution was fixed
- A comment is added to the top of the generated stub to indicate that these files should not be manually edited
- An empty assignment line is added to the stub as a means of verifying that the stub continues to implement the interface. (Useful during development, where the interface signature might often change)
Version 1.0.0
First release of GoStub
- Supports built-in types
- Supports local types
- Supports external types
- Supports aliased types
- Supports locally imported types
- Supports type reuse in parameters and results
- Supports var-args
- Supports sub-interface declarations
- Generated stubs are stable with regard to
gofmt
.