Skip to content

v0.3.3

Compare
Choose a tag to compare
@switchupcb switchupcb released this 28 Apr 07:24
· 32 commits to main since this release

The project has been updated to go 1.18.

Parser

This patch reimplements support for interfaces, fixes func parsing, and prevents any issues with cyclic types from occurring. Caching has been refactored to prevent unintended behavior, while also improving parsing performance. In addition, *all types have been tested: This means that there should be no more edge-cases regarding the current supported types. In other words, the ability to parse every Go type including basic, array, slice, map, chan, interface, func, and every combination in-between is supported.

Matcher

The matcher will match pointers of any type and handle their semantics. For example, using tb **bool and fb *bool will result in tb = &fb.

Other

Copygen has been mentioned in awesome-go.