Skip to content
This repository has been archived by the owner on Apr 13, 2020. It is now read-only.

Releases: mokiat/gostub

Version 1.3.0

05 Jan 19:13
Compare
Choose a tag to compare

Relocation

  • Project has been moved under the mokiat account, which is much shorter.
  • Minor fixes and improvements

Version 1.2.0

09 Aug 14:19
Compare
Choose a tag to compare

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

21 Jul 19:06
Compare
Choose a tag to compare

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

20 Jul 19:26
Compare
Choose a tag to compare

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.