You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Go has generics but cannot work when using method like this.
// ex)// Syntax Error: method must have no type parameters syntaxfunc (usUsers) Tap[Tany](itemT) T {
returnitem
}
For that reason, go-gen-lo also cannot support some lo helpers.
// ex)// Cannot implement because it is parameterized methodfunc (usUsers) Reduce[Rany](accumulatorfunc(aggR, itemUser, indexint) R, initialR) R {
returnlo.Reduce(us, accumulator)
}
Go has generics but cannot work when using method like this.
For that reason,
go-gen-lo
also cannot support some lo helpers.REF
The text was updated successfully, but these errors were encountered: