Closed tomasr78 closed 4 years ago
By design. As GO has no default values for parameters nor function overloads so this function takes less arguments and replaces with the defalt values.
When maybe we could swap names? The full method could be ConvDef and smaller alternate version Convert? Which version would be used more often?
Fixing issue that don't exist would introduce breaking changes.
The main convert method do not use ConvertAPI naming convention, instead of
convertapi.ConvDef
should beconvertapi.Convert
, the same applies to snippets.https://github.com/ConvertAPI/convertapi-go/blob/a822cefe0641ce45c4acd7a59c8b4f1266aeb196/convert.go#L12