Skip to content

v0.2.0

Compare
Choose a tag to compare
@sudo-suhas sudo-suhas released this 02 Feb 07:18
98d503a

Changelog

2ae606f Internal registry for disambiguated imports, vars (#141)
98d503a Removed credit line given major contributrions

Breaking change

When the interface definition does not mention the parameter names, the field names in call info anonymous struct will be
different.

The new field names are generated using the type info (string -> s, int -> n, chan int -> intCh, []MyType -> myTypes, map[string]int -> stringToInt etc.).

For example, for a string parameter previously if the field name was 'In1', the new field could be 'S' or 'S1' (depends on number of string method parameters).